- Suppose the domain name of your server is server, and your login name loginname.
- On the client, generate a public and private key.
ssh-keygen -C loginname@server -t dsa
When asked for a password, simply press return. The private key is stored in
~/.ssh/id_dsa
and the public key in
~/.ssh/id_dsa.pub - Copy the public file to the server with
scp ~/.ssh/id_dsa.pub loginname@server:~/ - Login on the server with
ssh loginname@server - Append the copied file to ~/.ssh/authorized_keys with
cat ~/id_dsa.pub >>~/.ssh/authorized_keys
Showing posts with label CVS. Show all posts
Showing posts with label CVS. Show all posts
2013/08/14
Secure SSH, CVS, SCP Without Password Prompt
▼ Click here to say thanks ▼
Subscribe to:
Posts
(
Atom
)