ssh connection refused

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

ssh connection refused

Postby mellowman » Sun Jun 24, 2007 9:02

How do I unblock port 22 to use ssh or what port should I be trying to use?

localhost daniel # ssh 192.168.123.102
ssh: connect to host 192.168.123.102 port 22: Connection refused

ping works...
Thanks in Advance
Daniel
mellowman
Baby Hen
 
Posts: 14
Joined: Sat Mar 24, 2007 3:04
Location: Texas

Postby Rekr » Sun Jun 24, 2007 11:06

is sshd running on that box?
Rekr
Young Hen
 
Posts: 27
Joined: Sat Sep 09, 2006 3:47

Postby mellowman » Sun Jun 24, 2007 19:34

No it wasn't. started with:
/usr/sbin/sshd

Now it wont accept password.

localhost daniel # ssh 192.168.123.102
Password:
Password:
Password:
Permission denied (publickey,keyboard-interactive)
mellowman
Baby Hen
 
Posts: 14
Joined: Sat Mar 24, 2007 3:04
Location: Texas

Postby Rekr » Mon Jun 25, 2007 3:50

try something like ssh user@192.168.123.102 with user being a valid user Id on the box
Rekr
Young Hen
 
Posts: 27
Joined: Sat Sep 09, 2006 3:47

Postby mellowman » Mon Jun 25, 2007 8:30

Hmm no dice
I may have hosed something with keygen

/usr/bin/ssh-keygen -f /etc/ssh/ssh_host_key --N
mellowman
Baby Hen
 
Posts: 14
Joined: Sat Mar 24, 2007 3:04
Location: Texas

Postby zouzou85 » Thu Jun 28, 2007 0:51

hi,
did you find a fix for this problem?
I have the same problem, so please share the fix if you found it!

zouzou85
User avatar
zouzou85
Growing Hen
 
Posts: 104
Joined: Tue Mar 27, 2007 5:12
Location: West Coast, North Africa, South America


Return to Networking and Wireless

Who is online

Users browsing this forum: harmon and 1 guest