LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-24-2005, 12:00 AM   #1
DirtyDan
Member
 
Registered: Aug 2004
Posts: 41

Rep: Reputation: 15
SSH Oddity


Hi, I have read many of the threads regarding Permision Denied errors, but none seemed to apply or make a difference. I have two laptops in ad-hoc mode which I am trying to use SSH with. They both have the same kernel, same version of SSH installed, and are both using default configuration. SSH from laptop A to laptop B is great, but for some reason B cannot connect to A! Even if I delete the known hosts file and all the other files in /etc/ssh (including the config file, sending everything to default for sure...), I still recieve the error.


Is there some other verification file I can reset, or option I can change to make things easier? I do not need security whatsoever, these laptops have nothing valuable on them and this is really an ironic inconvenience since SSH is so secure.

Thanks
 
Old 10-24-2005, 12:09 AM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
what distros are involved? are you blocked by default in a hosts.deny file on laptop A? any firewalls on either machine, or a router?

i never would think the ssh settings would revert to default if you delete the config file, but i'll take your word for it. better to have a config file though, i would think, esp. since you know it's not working without one anyway.
 
Old 10-24-2005, 12:15 AM   #3
DirtyDan
Member
 
Registered: Aug 2004
Posts: 41

Original Poster
Rep: Reputation: 15
Uhh, yes, good point. Right now I am reinstalling SSH because I want a fresh install and... I was wrong, just assumed that it would function on defaults without a config file. Anyways something I deleted in /etc/ssh killed it. I'll try to check out the note off of the guide on here I just noticed to:

Quote:
You probably have a server problem, check sshd is running "netstat -nlp" and there is no firewall rule in place blocking port 22 "iptables -nL".
Speedy reply, btw

And they are on Slackware, 10.0



Ok, with everything fresh (again) On LapA -> LapB, connection is still sound. Since this was a fresh boot, I recieved the "Authentication of host unknown; accept RSA key?" garble. On LapB -> LapA, I recieved "Host verification failed". What other file is locking my connection? I deleted everything in /root/ssh before the reinstall too, and there is no hosts.deny on either. Geh?


Running the debug, the error says:

"read_passphrase: can't open /dev/tty: is a directory"

Whoa, so I just checked, and on LapB, /dev/tty had 6 sub directories, /s, /s01, /s02... What are these? No matter, I cleared them and linked to /dev/tty1.

Problem Solved. grr

Last edited by DirtyDan; 10-24-2005 at 12:53 AM.
 
  


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
Gnome 2.8 Oddity inescapeableus Linux - Software 2 01-10-2005 03:00 AM
NIS oddity Rekna Linux - Networking 2 06-17-2004 06:09 PM
DHCPCD Oddity ellesedilandal Linux - Networking 4 12-28-2003 09:09 AM
smb oddity pdxrc Linux - Networking 1 01-29-2003 04:43 PM
fdisk oddity neo77777 Linux - General 4 08-16-2002 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration