PDA

View Full Version : ssh to Fedora Core 4


amo2000
13th March 2007, 01:06 AM
I can't ssh into my Fedora Core 4 machine.

I receive a message saying

login as: asdf
Using keyboard-interactive authentication.
Access denied.
Using keyboard-interactive authentication.
Password:

The network seems to be OK. The can ssh on the local network but not across the Internet.

The local network is connected to the Internet via a router and firewall.

I can ping out to the Internet.

Amarjit

Brian1
13th March 2007, 01:16 AM
Are you trying to connect to the ssh server from and outside location or trying to connect to the external Ip from within your network?

Now if you are outside at a remote location then have you setup the router to port forward the external IP port 22 to the internal static lan IP post 22 of the machine the sshd is running?

If that has been done and if there is a firewall on the machine then is it open to the lan side?

From the server itself goto this site and run the advance port scan to scan the external IP and to se if port 22 is open.
http://www.hackerwatch.org/probe/

One last thought is maybe your provider is blocking port 22 so as to stop its users from running a server. Some like to be paid to allow remote machines to connect to yours. They block the common ports. To get around that you would have to say set the router to forward the external IP port 10000 to lan IP port 22.

Brian

Dors
13th March 2007, 01:16 AM

maybe a port issue, happened to me just open port 22

amo2000
13th March 2007, 02:04 AM
Many thanks for the reply.

I will try it out tomorrow.

I don't have access to the router today.

Amarjit