HOWTO: SSH Without Keys
19Dec09
Everytime I make a mistake, and end up wiping out my ssh keys, it always takes so long to get password free ssh up and running again, I’ve no idea why 😦
So, for my memory as much as anything else, heres the easiest way to do it. Start from scatch, and use
rm -Rv .ssh
to remove all configs.
Create a new key with
ssh-keygen -t dsa
just hitting return to bypass a password. Copy that the to the remote server using
ssh-copy-id user@server
give the password, and after that, you should be able to login without a password
Ensure the permissions are correct too, on both server and client
chmod 755 .ssh chmod 644 authorized_keys
At the moment though, I’m coming against a wall with ssh between Crunch and Two-Face. Gives an unknown identity error. I’ll work on it and report back 🙂
Filed under: HowTo, Operating Systems, Posts, Server, Ubuntu | Closed
Tags: HowTo, SSH, Ubuntu
- AMD64 Apt Apt-Cacher Apt-Cacher-NG Arch ArchBang Artic Silver 5 Backups Bang86 Broadband Celeron CentOS Cleaning Clonezilla Compiz Conky copy recursively CPU Crunchbang Debian DPKG Ebay find Firefox Flash Gnome GRUB GTk Hardware Heatsink HowTo Jesred Karmic Laptop Linux LUbuntu Maverick Network New Computer NTFS Nvidia Office 2007 Openbox Operating Systems Packages Packard Bell Pentium Pentium IV Perlico PIII postaweek2011 Posts Proxy RAID Repairs RSync Sensors Server Size Mismatch Snow Squid SSH Synaptic System64 Tecra terminal commands Themes Ubuntu Upgrade USB VNC W2K3 Windows Wine Xubuntu 9.10
Top Posts
- HOWTO: Repair a broken Ext4 Superblock in Ubuntu
- HOWTO: Allow SSH logins from Anywhere
- HOWTO: Mount Partitions in Terminal - FSTab
- HOWTO: StartX automatically on Login - Ubuntu
- Screenshots
- I know, I promised...
- HOWTO: Switch Workspaces Using Your Mouse - Compiz
- Well Its Been A While
- HOWTO: Conky - IP monitor
Archives
-
Join 86 other subscribers
Meta
-
This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.