LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-15-2007, 09:28 PM   #1
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Rep: Reputation: 30
ettercap


I was trying with ettercap to sniff traffic over my router , it was the first time i used this prog and at the beginning i was massing with the plugins.I had my tests on the gateway linuxbox and now i can access the inside lan servers from the gateway but not the opposite way with ssh ... did i have changed something that "poisoned" the ssh key exchange ?
Code:
gabrix@www:~$ ssh -p 666 argo@gabrix
ssh: gabrix: Name or service not known
That's a really odd error i can login backwords do but now i don't know ho to repair to this ... help please anyone !
 
Old 01-16-2007, 08:12 AM   #2
chrwei
LQ Newbie
 
Registered: Jan 2005
Posts: 24

Rep: Reputation: 15
that error simply means the name could not be resolved. do you have dns setup or have that name in your hosts file? if no to both, you should not be suprized to get this error.
 
Old 01-16-2007, 01:02 PM   #3
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
I don't know if you are right i have also formatted the gateway where i was connecting to from the inside lan clients and /etc/resolv.conf and /etc/hosts are set as i always did ...
 
Old 01-16-2007, 05:06 PM   #4
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
It's not a dns problem as i supposed it's a key exchange issue . I resetted all keys i had made new onces but the probem remains that's the debugging output :
Quote:
gabrix@mail:~$ scpa -vv .ssh/id_dsa.pub argo:/home/gabrix/
Executing: program /usr/bin/ssh host argo, user (unspecified), command scp -v -t /home/gabrix/
OpenSSH_3.8.1p1 Debian-8.sarge.6, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to argo [192.168.0.2] port 666.
debug1: Connection established.
debug1: identity file /home/gabrix/.ssh/identity type -1
debug1: identity file /home/gabrix/.ssh/id_rsa type -1
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug2: key_type_from_name: unknown key type '-----END'
debug1: identity file /home/gabrix/.ssh/id_dsa type 2
ssh_exchange_identification: Connection closed by remote host
lost connection
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ettercap for FreeBSD bshearer *BSD 1 06-06-2006 08:24 PM
ettercap gabsik Linux - Security 1 05-25-2006 03:47 AM
ettercap vs. arpspoof kirmet Linux - Networking 0 11-03-2005 08:51 AM
ettercap and ssl ddaas Linux - Security 1 10-02-2005 07:40 AM
Ettercap 0.7.0 is it threat? dominant Linux - Security 1 08-13-2004 10:31 AM


All times are GMT -5. The time now is 12:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration