Commit graph

271 commits

Author SHA1 Message Date
Jakobus Schürz
66d7bf5263 fix sudo when sshs to other server
when myshellconfig is configured for root and you logged in via sshs,
sudo does not work correctly.

not it takes the temporary bashrc for sshs also for sudo
2022-11-16 11:36:09 +01:00
Jakobus Schürz
64025490e1 change sudo 2022-11-16 00:14:58 +01:00
Jakobus Schürz
aaca6d139a add function to set new git-url 2022-11-15 23:55:36 +01:00
Jakobus Schürz
a1d0f01ecc add function to set new git-url 2022-11-15 23:52:51 +01:00
Jakobus Schürz
fef455160b defince GIT_MSC in create_symlinks 2022-11-13 07:29:03 +01:00
Jakobus Schürz
76634847f7 add remote, when configure a new server 2022-11-09 12:56:01 +01:00
Jakobus Schürz
5ac35efb33 change from git to $MSC_GIT 2022-10-25 06:35:24 +02:00
Jakobus Schürz
dc6d367ebe change variable-name and login 2022-10-21 10:56:09 +02:00
Jakobus Schürz
94bd6ddb44 change logerror to logerr 2022-09-28 23:11:27 +02:00
Jakobus Schürz
a41d84d492 add functionality to open more connections
to the same server in split tmux pane with sshs
2022-09-21 15:51:44 +02:00
Jakobus Schürz
4cf1076197 change and simplify logging functions 2022-09-14 14:44:13 +02:00
Jakobus Schürz
5ea462f314 make connectdb related to hostname 2022-07-26 18:17:45 +02:00
Jakobus Schürz
fb5c30ed8c fixe kaputten merge 2022-07-25 15:21:48 +02:00
Jakobus Schürz
c26ef455c4 Merge branch 'master' of git.schuerz.at:public/myshellconfig 2022-07-25 15:15:42 +02:00
Jakobus Schürz
9683283e73 change add functions for atlassians 2022-07-08 20:49:42 +02:00
Jakobus Schürz
1cd015e6d9 improve getdbcreds 2022-07-08 20:49:42 +02:00
Jakobus Schürz
6c8afa408d read cnf/jra xml with xmllint 2022-07-08 20:45:43 +02:00
Jakobus Schürz
f09584485f read cnf/jra xml with xmllint 2022-07-04 15:27:49 +02:00
Jakobus Schürz
c8c6922b1f reduce ssh-commands for sshs to 2 2022-06-27 02:56:45 +02:00
Jakobus Schürz
44d671e5a3 reduce ssh-commands for sshs to 2 2022-06-27 02:39:41 +02:00
Jakobus Schürz
c09fecdb89 add function for finding local logins 2022-06-08 18:33:53 +02:00
Jakobus Schürz
ec2bd6b3f2 change invocation of remote shell in sshs 2022-05-19 14:22:38 +02:00
Jakobus Schürz
0bd8b45e55 reduce number of ssh-calls on sshs 2022-05-19 08:48:34 +02:00
Jakobus Schürz
0ecb4308b3 change debug 2022-05-12 21:11:57 +02:00
Jakobus Schürz
dc631b7af1 fix no new kerberos-ticket 2022-03-15 09:31:28 +01:00
Jakobus Schürz
1cdaa863ec remove double function 2022-02-15 20:22:39 +01:00
Jakobus Schürz
a5fa92757b fix typo 2021-12-03 09:41:27 +01:00
Jakobus Schürz
9bb0d57134 make token and check_token the same, change log 2021-12-03 09:37:14 +01:00
Jakobus Schürz
391374c32f fix tokencheck 2021-12-02 15:17:59 +01:00
Jakobus Schürz
a80c366fbe change no_proxy 2021-11-23 12:36:34 +01:00
cf1183895b unset proxy functions 2021-11-12 12:59:48 +01:00
650efae7ed rework setproxy 2021-11-12 12:05:01 +01:00
df25f73fdb improve setproxy
* add function urlencode
* urlencode credentials
* make socks5-proxy possible
* add no_proxy
2021-11-12 10:15:41 +01:00
Jakobus Schürz
e9d3abbeee add choose db-file and better logging 2021-11-11 08:32:27 +01:00
Jakobus Schürz
5ea9128a28 fix some small problems
* change options for sshs
* run sshs only when server is reachable
* change echo to logging
* fix loadagent to abort, when af is empty
2021-10-29 14:57:58 +02:00
Jakobus Schürz
6d8e79c8bc add jira/confluence specific database function 2021-10-22 08:25:01 +02:00
Jakobus Schürz
894445f700 make other keys in token chooseable by label 2021-10-19 12:06:42 +02:00
Jakobus Schürz
1d09e7368d add function for test ip adresses 2021-10-19 12:00:55 +02:00
7e2ab392fb add function to rename lvm vg and dependencies 2021-10-19 10:27:12 +02:00
bfce13a609 remove comments and fix typo 2021-10-11 07:59:34 +02:00
Jakobus Schürz
35460dab6d fix wrong parameter expansion 2021-10-04 14:16:37 +02:00
01f5325468 change function 2021-09-20 16:01:34 +02:00
c48e08e9c2 revert changes (don't know why they are there..) 2021-09-20 08:49:25 +02:00
a2a54e6d9e transfer function to shellscript 2021-09-15 13:55:20 +02:00
e6602d3410 remove old commented code 2021-09-15 11:41:19 +02:00
Jakobus Schürz
ab7e47c57a add function cporig
cporig makes a copy of a file $FILENAME and names ist $FILENAME.orig
2021-09-10 13:58:40 +02:00
Jakobus Schürz
4ad1733bf9 fix test empty variable 2021-07-07 17:03:12 +02:00
Jakobus Schürz
c0b72390c1 fix P11M -> PKCS11_MODULE for function token 2021-07-07 16:38:20 +02:00
2b97122a66 fix token ask for PIN, if available 2021-07-07 15:45:29 +02:00
3a0aec576a remove empty lines 2021-05-11 12:26:59 +02:00
Jakobus Schürz
d1d9596868 change variable from PKCS11_MODUlE to P11M 2021-05-06 01:31:30 +02:00
520196cff2 add P11M to sshs 2021-05-06 00:57:20 +02:00
Jakobus Schürz
a35d9eddcb change debug 2021-04-28 09:16:36 +02:00
Jakobus Schürz
09817e390f change debug 2021-04-28 09:14:20 +02:00
6e4814c04a change debug 2021-04-28 09:08:05 +02:00
Jakobus Schürz
7e7a0d69f3 change debug sshs 2021-04-28 09:07:46 +02:00
Jakobus Schürz
5b561f8253 fix ControlMaster in sshs 2021-04-28 08:58:42 +02:00
Jakobus Schürz
cb2e1d77ce add debug 2021-04-27 17:54:23 +02:00
Jakobus Schürz
b030cc5b68 change master lifetime 2021-04-09 11:41:52 +02:00
Jakobus Schürz
ad7b1da4d4 modify token 2021-03-11 14:16:09 +01:00
e2469ed60c ControlMasterSec increased
sshs did not finish every time the config, because connection Master
broke down
2021-03-08 12:07:34 +01:00
Jakobus Schürz
12a6d378dc change ssh-master name in sshfs 2021-02-27 01:43:36 +01:00
Jakobus Schürz
7fdd1bc3e2 Merge branch 'master' of /srv/git/myshellconfig 2021-02-26 20:01:06 +01:00
c6ecc07812 remove timestamp for repo
first login does not create symlinks
2021-02-14 02:16:54 +01:00
Jakobus Schürz
aad886cc3e update submodules 2021-02-04 09:02:54 +01:00
df9a7c3ec4 add debug 2021-02-02 09:49:05 +01:00
5f9db11400 update submodules 2021-01-23 20:50:45 +01:00
b677438fa8 remove token and readd if add not possible 2021-01-20 17:09:09 +01:00
Jakobus Schürz
bcc7747eee update submodules 2021-01-15 08:21:50 +01:00
89d2d40629 update submodules 2020-12-30 00:12:12 +01:00
a010d54b21 add option archive to cp 2020-12-19 22:46:56 +01:00
3f4b655d1c add btrfs-functions 2020-12-19 22:39:31 +01:00
25bb02adf9 add function to test btrfs 2020-12-19 21:01:15 +01:00
b53e336858 fix blank 2020-12-15 13:17:18 +01:00
6a9aefd522 change syntax 2020-12-15 13:16:13 +01:00
d237cddf01 change syntax 2020-12-15 13:13:39 +01:00
f9cc98ac66 change while to for-loop 2020-12-15 13:09:51 +01:00
41bce602d6 add debug 2020-12-15 12:57:43 +01:00
dcd1c66192 fix wrong space 2020-12-15 12:54:46 +01:00
a58bae642d add local filelist to sshs FILELIST 2020-12-15 12:49:58 +01:00
bfd6619d50 change from loginfo to echo 2020-12-14 14:05:18 +01:00
d905068df9 change path 2020-12-14 14:02:31 +01:00
9233124e69 move function, add timestamp on initial clone 2020-12-14 13:59:03 +01:00
b930a511eb change variable from MYHSHELLCONFIG_ to MSC_ and fix 2020-12-10 09:31:38 +01:00
ec669d7872 make gnome extensions permanent 2020-12-09 15:56:05 +01:00
411e5a2edc set home, if XDG_RUNTIME_DIR not defined 2020-12-08 19:07:54 +01:00
023d0a036d add function crtime 2020-12-05 19:01:17 +01:00
d8ca48066b rename function, fix promptcommandmunge 2020-11-28 18:00:17 +01:00
420cb4663c modify promptcommand, use direnv to set umask 2020-11-28 17:42:42 +01:00
98ffb534d4 lazy unmount, use XDG_RUNTIME_DIR decrypt mount 2020-11-28 16:12:37 +01:00
b9038f9fa5 create destdir in mencfs 2020-11-19 20:35:00 +01:00
Jakobus Schürz
7418a4b559 remove unneeded lines 2020-11-13 07:36:12 +01:00
0687776d85 add function to rescan scsi-bus 2020-11-04 06:45:58 +01:00
868cf2651a add global ignore-file to ignore helptags from vim 2020-10-30 23:47:03 +01:00
8f98b771d8 remove functions for vim-plugins
they are now handled by submodules. vim-plugin-install is a script now
2020-10-30 01:12:54 +01:00
8c67fc1998 add Vundle 2020-10-28 14:20:51 +01:00
Jakobus Schürz
8f0d3a3dd7 change submodule-repo var 2020-10-28 11:50:33 +01:00
Jakobus Schürz
1531ccd9ae add errorcode when nc not found 2020-10-19 14:35:07 +02:00
7c59c76b84 write output to logfile too 2020-10-08 06:32:44 +02:00
58bcb86901 convert to upper case, add function 2020-10-08 06:28:19 +02:00