Changes between Version 21 and Version 22 of SSHKEYGEN


Ignore:
Timestamp:
11/22/23 08:43:54 (12 months ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SSHKEYGEN

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