| | |
Can't SSH into Ubuntu
![]() |
•
•
Join Date: May 2009
Posts: 3
Reputation:
Solved Threads: 0
I'm having trouble using SSH to gain access to my Ubuntu 9 machine (extreme linux neophyte). I have the Ubuntu server and OpenSSH installed, as well as Samba on one machine, and I'm trying to access this machine, via SSH, from my Mac--which is running OS X 10.5.6.
I am trying to SSH into the Ubuntu machine, so I can SFTP files from the Samba server onto my Mac, (not sure if that's the most efficient way, but I think it'll work).
However, when I try and SSH into the Ubuntu machine, the SSH command just times out. I don't think it's a port issue, because from what I understand, Ubuntu doesn't install a firewall by default.
I feel like I'm missing a simple step, but I can't seem to figure it out.
Any help or suggestions would be greatly appreciated.
I am trying to SSH into the Ubuntu machine, so I can SFTP files from the Samba server onto my Mac, (not sure if that's the most efficient way, but I think it'll work).
However, when I try and SSH into the Ubuntu machine, the SSH command just times out. I don't think it's a port issue, because from what I understand, Ubuntu doesn't install a firewall by default.
I feel like I'm missing a simple step, but I can't seem to figure it out.
Any help or suggestions would be greatly appreciated.
•
•
Join Date: May 2009
Posts: 3
Reputation:
Solved Threads: 0
Thanks for your reply.
After typing:
the terminal returns the error:
Not sure if the different versions matter, but I would assume the main difference between the desktop/server editions would be the packages installed.
After typing:
•
•
•
•
ssh username@hostip
•
•
•
•
ssh: connect to host 192.168.1.106 port 22: Operation timed out
From the Ubuntu server, run:
And see if you see something like *.ssh under IPv4 (usually near the top of the output) .. This will tell you whether your SSH server is up or not.
Second, when you try SSH again, use the -vv flags:
EDIT: The '-vv' flags may give you an indication of what is going awry.
$ netstat -a
Second, when you try SSH again, use the -vv flags:
$ ssh -vv username@hostip
EDIT: The '-vv' flags may give you an indication of what is going awry.
Last edited by Stylish; May 11th, 2009 at 5:18 pm.
I NEED AN ADULT!
•
•
Join Date: May 2009
Posts: 3
Reputation:
Solved Threads: 0
Thanks for your reply.
Here's what I got when I ran netstat--I just pulled all of the lines that had ssh in them:
And here's what I got while running ssh -vv:
I tried restarting ssh through init.d, but when running netstat, it didn't add anything.
Any idea?
Here's what I got when I ran netstat--I just pulled all of the lines that had ssh in them:
•
•
•
•
unix 2 [ ACC ] STREAM LISTENING 9887 /tmp/ssh-sdPcyK3687/agent.3687
unix 2 [ ACC ] STREAM LISTENING 10465 /tmp/keyring-SUd9DN/socket.ssh
•
•
•
•
OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.xxx.xxx [192.168.xxx.xxx] port 22.
debug1: connect to address 192.168.xxx.xxx port 22: Operation timed out
ssh: connect to host 192.168.xxx.xxx port 22: Operation timed out
Any idea?
![]() |
Similar Threads
- SSH problem (Network Security)
- Rsync over SSH (IT Professionals' Lounge)
- Putty-like Ubuntu program (*nix Software)
- PIX 501 and ssh (Networking Hardware Configuration)
- Error in SSH (*nix Software)
- Using SSH client on win 2000 (*nix Software)
- ssh keybing (*nix Software)
Other Threads in the OS X Forum
- Previous Thread: Help with RAID
- Next Thread: iBook G3 will not boot from CD/DVD
| Thread Tools | Search this Thread |





