Register
It is currently Wed Jul 23, 2014 3:42 pm

CLI Magic: More on SSH


All times are UTC - 6 hours


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 PostPosted: Wed Dec 07, 2005 12:25 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 662
Location: Des Moines, Iowa
CLI Magic: More on SSH
http://www.linux.com/article.pl?sid=05/12/02/2045226


Top
 Profile WWW  
 PostPosted: Mon Apr 24, 2006 2:59 pm   

Joined: Mon Apr 24, 2006 2:39 pm
Posts: 30
Location: Villahermosa
I had issues implementing some of the advices, specially the one that save u the authentication putting the public key under the autherized_keys2 file.

The result was a warning of a man in the middle attack, I didnt have any issue getting in, but it just didnt work.


Top
 Profile WWW ICQ YIM  
 PostPosted: Mon Apr 24, 2006 11:25 pm   
Site Admin

Joined: Tue May 17, 2005 7:31 pm
Posts: 251
Location: Georgia
you might want to go to the remote system where you tried and remove in the user's known_hosts file (~/.ssh/known_hosts) and remove the entry that is listed for your host machine... if that makes sense to you...
let's say you are trying to connect to bob.yourdomain.com from tom.yourdomain.com as user john
on bob.yourdomain.com remove the entry for tom.yourdomain.com (might be the IP instead of the hostname) in the file ~/.ssh/known_hosts


Top
 Profile  
 PostPosted: Tue Apr 25, 2006 11:48 pm   

Joined: Mon Apr 24, 2006 2:39 pm
Posts: 30
Location: Villahermosa
I am confused now, the remote server doesnt have a know_host, since the client is on my desktop. But I have never needed to use a .ssh/known_host on the server.

Did you mean to say the .ssh/known_host on my client (desktop?).

UPDATE: I tried to do this on my desktop -- client and still got the following error:

Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0660 for '/home/jza/.ssh/id_dsa' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/jza/.ssh/id_dsa
Enter passphrase for key '/home/jza/.ssh/id_dsa':

This of course didnt happened before doing the process.


Top
 Profile WWW ICQ YIM  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP