![]() I also want to log in to my server from my workstation ("H2").I log in to my server from my personal laptop ("H1").I assume that what you are really asking is From now on, you can log into the S1 from your H2, and also log into the S1 from your H1. This installs the public key of your workstation into the ~/.ssh/authorized_keys file for that user on the server. Type: ssh-copy-id use your actual username on S1 and S1's hostname, and later type in your password on S1 when it asks for it). Copy your H2's public key to the server.Also generate the corresponding public key. If you haven't already generated a fresh private key on H2, do so now. ![]()
0 Comments
Leave a Reply. |