ssh
December 23, 2019
6:24 PM
workhorse
ssh luc@192.168.69.115 -i .ssh/id_rsa
ssh luc@ltd.dlinkddns.com
If you connect frequently, you can put all of this information into your SSH config file on the local machine and make a shortcut to connect
How to?
what I did in the meantime is to save a .bat file with the cmd line
/etc/ssh
/.ssh/authorized_keys
luc@sirserver
PermitRootLogin no
PublicKeyAuthentification yes
PasswordAuthentification yes
restart ssh server
sudo systemctl restart ssh
Security Warnings: Please don’t open SSH port (Secure SHell) globally as this would be a security breaches. You can only open for specific IP from where you are going to transfer or manage files on remote system or vice versa.