Results 1 to 9 of 9
SSH service is started and connect on local is ok but I can not from client (firewall is disabled). Can you help me??
Thanks...
- 09-28-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 5
SSH Server???
SSH service is started and connect on local is ok but I can not from client (firewall is disabled). Can you help me??
Thanks
- 09-28-2007 #2
What is the command you are using to connect to the ssh server? What message(s) is it giving you after you cannot get connected?
- 09-28-2007 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 5
I'm using putty to connect to server as "root", but it's always giving message "Access dinied"
- 09-28-2007 #4
It could be your server is set up not to allow root login to ssh. This is a security measure. Try to ssh into the server as a regular user and see what happens. If you can get in, then become su or root.
- 09-28-2007 #5Just Joined!
- Join Date
- Sep 2007
- Posts
- 5
It could be your server is set up not to allow root login to ssh. This is a security measure. Try to ssh into the server as a regular user and see what happens. If you can get in, then become su or root.
I connected on local as "root" so I think root is allowed. I also tested connection as a regular user from client but could'n (Access dinied).
- 09-28-2007 #6
If sshd is working on the server, and port 22 is clear all the way through, then you should be able to login if allowing root login is set in the server's /etc/ssh/sshd_config. What is the exact command you are using to login to the server? Is it possible you are mistakenly logging into another computer on the LAN, thinking you are logging into the server? I ask because I've done that, and it gives the "access denied" message because the wrong machine is not recognizing my username or password.
- 09-28-2007 #7Just Joined!
- Join Date
- Sep 2007
- Posts
- 5
I'm sure server is not wrong because I can connect by telnet or ftp as root and regular users.
- 09-28-2007 #8Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
I believe when root ssh loging is disabled it is only for remote connections. Can you post your /etc/ssh_config from the client and /etc/sshd_config from the server.
- 09-28-2007 #9Just Joined!
- Join Date
- Sep 2007
- Posts
- 5
Thanks everyone, I found error, I don't open port 22 to allow remote connection


Reply With Quote