Loading
Home ›
SSH Logins Without Passwords
Trending Topics
| OpenLDAP Everywhere Reloaded, Part I | May 23, 2012 |
| Chemistry the Gromacs Way | May 21, 2012 |
| Make TV Awesome with Bluecop | May 16, 2012 |
| Hack and / - Password Cracking with GPUs, Part I: the Setup | May 15, 2012 |
| An Introduction to Application Development with Catalyst and Perl | May 14, 2012 |
| Cryptocurrency: Your Total Cost Is 01001010010 | May 09, 2012 |
- OpenLDAP Everywhere Reloaded, Part I
- Convert video to MP4 for Nook Tablet with best Video to Nook Tablet Converter
- RSS Feeds
- Validate an E-Mail Address with PHP, the Right Way
- Readers' Choice Awards 2011
- Hack and / - Password Cracking with GPUs, Part I: the Setup
- Monitoring Hard Disks with SMART
- Linux--The Internet Appliance?
- About Linux Journal
- Bash Regular Expressions
- Euro 2012 Coupon Codes - Get 20% Off Pavtube TiVo Converter
1 day 13 hours ago - Euro 2012 Big Sale: 20% Off Instant Savings on TiVo Converter
1 day 13 hours ago - MakeMKV works as well, though
1 day 13 hours ago - Euro 2012 Big Sale: 20% Off Instant Savings on TiVo Converter
1 day 14 hours ago - Awesome
2 days 12 hours ago - Who worries approx the
2 days 14 hours ago - Convert DVD to MKV File with
2 days 14 hours ago - Really nice article! Catalyst
2 days 15 hours ago - michael kors outlet
2 days 20 hours ago - Default configuration of /etc/ssh/ssh-config
3 days 8 hours ago





Comments
sshd Port
I ran into problems when attempting to use ssh-copy-id because my ssh server is running on a port other than 22 (the default). Ideally, one would imagine the following command to work:
ssh-copy-id -p XXXX -i ~/.ssh/id_rsa.pub username@host
However, that didn't do anything but output an error. The solution was to enclose it in quotes as follows:
ssh-copy-id '-p XXXX -i ~/.ssh/id_rsa.pub username@host'
Hope that helps.
Mike Gerwitz
Free Software Developer
Where's the penguin?
Hey Shawn...love the tips, love the Tux namesake (your pup)...but when are you going to get a penguin? And I'm not speaking of the stuffed penguins you have all over your office... ;)
Olfactory Failure
I suspect when every member of my family loses the ability to smell, I might be able to get a penguin. But even then, they'd probably object to the year round air conditioning and indoor icy pool.
I worry I might end up stuffed. :)
Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter
security security!
While this is a useful tip, it's a bit of a security risk. Actually, it's a huge security risk. If the machine with the private key is ever compromised (like Brett said), you'll put all machines that have your public key at risk.
A better way of doing this is to put a password on the sshkey itself. Then use ssh-agent to create a secure socket for ssh'ing with only one use of a password. Much more secure and only slightly less convenient (since you have to type your password once).
Security Concerns
Great simple video as this definitely does have some worthwhile use in the real world.
My concern is the general security of using only a key-authentication setup, if only one machine is compromised on the network then suddenly it's an open playground for any would-be misfit where as if each machine requires the key authentication (to verify the correct machine) as well as password (to verify the actual identity) then you stand more of a chance of isolating any security issues.
I've always liked the idea of password-less ssh especially for the automation of certain tasks (rsync for example, works wonders with it) but the security implementation has always alarmed me a bit.