[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ssh question yes it's me
telnet localhost 22
and service sshd restart
worked great on fedora 10
but mint this is the out come
root@kyle:/home/flylow# telnet localhost 22
telnet: could not resolve localhost/22: Name or service not known
root@kyle:/home/flylow#
apt-get install ssh installed 3 applications still failing to accept
connection.
I can ping the unit but will not accept connection when ssh
thank you 50% home free i think
On Thu, 2 Apr 2009 14:44:19 -0700, Roger Hill <unixman@charter.net> wrote:
> Also try ...
>
> On the destination server itself 'telnet localhost 22' if you don't get
> backa a connection (like below) something is wrong with sshd daemon
>
> # telnet localhost 22
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> SSH-2.0-OpenSSH_3.9p1
>
> ... try 'service sshd restart' or /etc/init.d/sshd restart
>
> To make sure it is running , please issue command :
> # ps -ef | grep sshd | grep -v grep
>
> It if is not, issue command ...
> # cat /etc/sshd/sshd_config
>
> and post back here .
>
> From source , can you try ...
>
> # telnet 192.168.1.133 22
>
> --
> #!/usr/bin/rh stop
>
> ---- Roger Hill <unixman@charter.net> wrote:
>
> =============
> Permissions has nothing to do with it. If your traceroute completes from
> source to destination, but you are unable to ping, I am betting 10 to 1
you
> have a firewall blocking port 22 somewhere. Check the firewall settings
on
> your local windows boxes (your sources?)
>
> On the destination (Linux ?), are you using tcp wrappers to deny any
> address's ?
> (# cat /etc/hosts.deny ; cat /etc/hosts.allow)
>
> Are you running iptables firewall on the destination ?
> (# service iptables status )
>
> On the destination are you running the sshd daemon actually on port 22 ?
> Are you running it on localhost only ? Or also the interface that the
.133
> destination is configured on ?
> (# netstat -nap | grep LISTEN)
>
> Please provide the Source IP, as well as the Destination IP .
>
> --
> #!/usr/bin/rh stop
>
> ---- Craig E Ziegel <mwtransport@wisperhome.com> wrote:
>
> =============
> [craig@craigoffice ~]$ traceroute 192.168.1.133
> traceroute to 192.168.1.133 (192.168.1.133), 30 hops max, 60 byte packets
> 1 flylow (192.168.1.133) 98.011 ms 103.927 ms 105.620 ms
> [craig@craigoffice ~]$
>
>
> On Thu, 02 Apr 2009 12:59:33 -0500
> fbceachday <fbceachday@yahoo.com> wrote:
>
>> Hi,
>>
>> try this:
>>
>> From your computer, in terminal type traceroute 192.168.1.133. It
>> should end where the hang up is. I suspect it's still a permissions
>> thing. :)
>>
>>
>> Craig E Ziegel wrote:
>> > I am trying to get the pc's to ssh to my office so everyone can
>> > access the external hard drive on my desktop, all pc's can talk to
>> > each other except 2 the desktop in the office will not let anyone
>> > one and my son will not let anyone on. his is mint, the office is
>> > Fedora 10. I checked to make sure the share was active on both pc's
>> > as well as checked the firewall on the fedora 10 box and ssh port
>> > 22 is open. I can ping both boxes but the connection is refused as
>> > you can see below. Will someone please tell me what I am missing
>> >
>> > --- 192.168.1.133 ping statistics ---
>> > 12 packets transmitted, 12 received, 0% packet loss, time 11980ms
>> > rtt min/avg/max/mdev = 2.915/3.745/6.146/0.762 ms
>> > [craig@craigoffice ~]$ ssh 192.168.1.133
>> > ssh: connect to host 192.168.1.133 port 22: Connection refused
>> > [craig@craigoffice ~]$
>> >
>> > Thank you
>> >
>> > Craig
>> >
>> >
>>
>>
>>
>> -
>> To unsubscribe, send email to majordomo@silug.org with
>> "unsubscribe silug-discuss" in the body.
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.