Q. How do I automate a remote login using ssh service? I’d like to login automatically to my remoter server called server.exmaple.com from my local Linux desktop system?
A. OpenSSH server and client supports public/private key based login. This is useful for:
b) Secure login
c) Backup procedures
d) Portforwarding using scripts etc
Please see our previous FAQs about automating a remote login using ssh keys:
- SSH Public key based authentication – Howto (using RSH keys)
- Howto Linux / UNIX setup SSH with DSA public key authentication (password less login)