Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2002 14:20:38 -0500
From:      Edmond Baroud <SoHo@admin.fido.ca>
To:        Brian Henning <b1henning@hotmail.com>
Cc:        freebsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ICMP(ping) ssh problems
Message-ID:  <20021217192038.GA37844@admin.fido.ca>
In-Reply-To: <OE31E9chbN2tEwLqJrf000089e8@hotmail.com>
References:  <OE31E9chbN2tEwLqJrf000089e8@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

pkg_info |grep -i sshd ( if sshd is installed :))
ps -aux|grep sshd ( to see if ssh is running )
netstat -an|grep -i listen|grep .22 ( if its listening on port 22)
which sshd (where's ur binary?)
or whereis sshd
if you have all these,
try to run it manually by typing sshd on ur shell
and add this to ur /etc/rc.conf
sshd_enable="YES"
sshd_program="/path/to/sshd" usually /usr/sbin or /usr/local/sbin
sshd_flags=""

Ed.

Quoting Brian Henning (b1henning@hotmail.com):
> Hello-
> i am having problems connecting to my laptop. I just installed 4.7 the other
> day with mostly a default configuration. I am having problems with SSH and
> ICMP (ping). I think that the deamon that starts these servers is not
> running. what can i do to make assure the items i need running are running.
> 
> thanks,
> brian
> 
> 
> result from ssh
> ---------------
> OpenSSH_3.4p1 FreeBSD-20020702, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Rhosts Authentication disabled, originating port will not be
> trusted.
> debug1: ssh_connect: needpriv 0
> debug1: Connecting to 192.168.1.44 [192.168.1.44] port 22.
> 
> 
> 
> telnet
> ------
> [/root]> telnet 192.168.1.44 22
> Trying 192.168.1.44...
> 
> 
> 
> [/root]> ping 192.168.1.44
> PING 192.168.1.44 (192.168.1.44): 56 data bytes
> ^C
> --- 192.168.1.44 ping statistics ---
> 3 packets transmitted, 0 packets received, 100% packet loss
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Edmond Baroud 
UNIX Systems Admin             mailto:SoHo@admin.fido.ca
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
"UNIX is very user friendly, it's just picky about who its friends are."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021217192038.GA37844>