Changes between Version 21 and Version 22 of SSHKEYGEN
- Timestamp:
- 11/22/23 08:43:54 (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SSHKEYGEN
v21 v22 72 72 [omd@local Test]$ sshpass -p "password" /usr/bin/rsync -a ~/var/log/Rsync/out.txt krit@172.17.0.1:Tmp/Test 73 73 }}} 74 75 == ssh tunnel == 76 77 At remote server that we would like to ssh in used following config with ssh_public key place at local server. 78 79 {{{ 80 root@dwdm:/etc/systemd/system# more sshtunnel.service 81 [Unit] 82 Description=SSH Tunnel 83 After=network.target 84 85 [Service] 86 Restart=always 87 RestartSec=20 88 User=root 89 ExecStart=/usr/bin/ssh -NT -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -R 32022:l 90 ocalhost:22 vodka@18x.1xx.217.xx 91 92 93 [Install] 94 WantedBy=multi-user.target 95 }}}