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
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.
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
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?
Summary: Hi I am tring establish ssh connect. Created a public and private key and place the public key on the server /home/test/.ssh/ppp.pub from client when i try to connect to the serevr with user test & pa...
Summary: You still may get permission denied if your command is invalid. "/dev/hda", for example, is a device file for your primary master IDE hard drive, not a command. You should get a book or find a tutoria...
Summary: I can't seem to run shell scripts that reside on an EXT2 filesystem. I get bad interpreter: permission denied every time I try, even though I am root, and the exec bits are set on both the script and...