Find the answer to your Linux question:
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...
  1. #1
    Just 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

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    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?
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Just 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"

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    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.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  5. #5
    Just 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).

  6. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    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.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  7. #7
    Just 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.

  8. #8
    Linux 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.

  9. #9
    Just Joined!
    Join Date
    Sep 2007
    Posts
    5
    Thanks everyone, I found error, I don't open port 22 to allow remote connection

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...