cristalmolix Posted March 13, 2010 Share Posted March 13, 2010 Can someone briefly outline the process of storing an SSH key on your local machine so you dont have to type a password Quote Link to comment https://forums.phpfreaks.com/topic/195073-ssh-key-storing/ Share on other sites More sharing options...
trq Posted March 13, 2010 Share Posted March 13, 2010 You generate a key on the local machine. ssh-keygen -t rsa if you don't set a password in the prompts, it won't use one. Then copy your public key to the remote server. ssh-copy-id remoteserver.com Quote Link to comment https://forums.phpfreaks.com/topic/195073-ssh-key-storing/#findComment-1025456 Share on other sites More sharing options...
cristalmolix Posted March 13, 2010 Author Share Posted March 13, 2010 thanks very much but i have a windows setup of cyghwin openssh my distro contains ssh-keygen -t rsa but does not have ssh-copy-id any ideas ? Quote Link to comment https://forums.phpfreaks.com/topic/195073-ssh-key-storing/#findComment-1025660 Share on other sites More sharing options...
tomfmason Posted March 13, 2010 Share Posted March 13, 2010 you can just scp it over cat your_key | ssh user@host 'cat >> .ssh/authorized_keys' Quote Link to comment https://forums.phpfreaks.com/topic/195073-ssh-key-storing/#findComment-1025673 Share on other sites More sharing options...
cristalmolix Posted March 15, 2010 Author Share Posted March 15, 2010 thanks Quote Link to comment https://forums.phpfreaks.com/topic/195073-ssh-key-storing/#findComment-1026708 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.