Computing.Net > Forums > Linux > SSH Permission Denied

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

SSH Permission Denied

Reply to Message Icon

Name: Kevin
Date: November 6, 2003 at 09:22:48 Pacific
OS: Red Hat Linux 9.0
CPU/Ram: 2.4 GHz 512 Mb
Comment:

When I try to connect to my computer from work with SSH I get permission denied even though I am typing the right user name and password. I have a belkin router and I have opened and forwarded port 22 (ssh) to my computer at home. I was wondering if anyone had had a similar problem before. Thank you for your help.



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: November 6, 2003 at 09:27:14 Pacific
Reply:

Are youy trying to log in as root? I don't
think ssh allows that by default.


0

Response Number 2
Name: Kevin
Date: November 6, 2003 at 10:14:48 Pacific
Reply:

I have tried loggin in with other accounts as well. It still doesn't work. It tells me Permission denied.

Here is how I am trying to connect:
ssh -I username host_name_ip

Thanks for helping me out
Kevin


0

Response Number 3
Name: Khaos
Date: November 6, 2003 at 12:15:13 Pacific
Reply:

ssh -l <login name> <ip here> ?
Not sure what the -I switch is, try man shh ?


0

Response Number 4
Name: Khaos
Date: November 6, 2003 at 12:16:44 Pacific
Reply:

I should really check my typos before submitting..
man ssh


0

Response Number 5
Name: C_Legend
Date: November 6, 2003 at 12:17:23 Pacific
Reply:

Are you sure you don't have a firewall installed? Enter "ntsysv" (or "redhat-config-services" for a gui version) at a command prompt, and see if iptables is checked. Enter "lokkit" (or "redhat-config-securitylevel" for a gui version) and "customize", then check "ssh" to allow this port. Reboot or restart the service manually.

I think SSH allows root by default. I think it's telnet that doesn't.

Good luck.


0

Related Posts

See More



Response Number 6
Name: drake
Date: November 6, 2003 at 12:27:03 Pacific
Reply:

the first time you connected did it ask you for if you accepted an rsa key fingerpring

in order to connect you have to accept it if you didnt i dont know how to fix it
if i recall its one of thees three
/etc/ssh/ssh_host_key
/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_dsa_key
dont hold me to this but if you deletethe first two one your system will generate a defualt key on its own later but when you connect to them it should prompt you again if you want to accept

been a while not sure could try google and rsa keys...


0

Response Number 7
Name: Kevin
Date: November 10, 2003 at 11:00:24 Pacific
Reply:

Thanks everyone for they help but it still doesnt seem to work. It keeps giving me permission denied for the password. When I try SSH internally as in ssh -I <username> 192.168.2.X it works fine. But when I use my IP it wont work.

I made sure that I am forwarding the right ports and opening the right ports. Hm..I have no idea. Thanks again for your time.

- Kevin


0

Response Number 8
Name: 3Dave
Date: November 11, 2003 at 03:19:17 Pacific
Reply:

Perhaps you are running an SSH2 server and
trying to connect with SSH1 from the
client?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Install linux in Performa... Connection to :0.0 refuse...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: SSH Permission Denied

ssh login permission deny www.computing.net/answers/linux/ssh-login-permission-deny/18913.html

permissions denied as root www.computing.net/answers/linux/permissions-denied-as-root/23996.html

bad interpreter: permission denied www.computing.net/answers/linux/bad-interpreter-permission-denied/23189.html