Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Linux


Advertisements:










Ubuntu :: Ssh: Connect To Host XXXX Port 22: Connection Timed Out


I have been playing with this for awhile now and I am ready to go postal.

I just want to move some files around and potentially rsync my net book with my desktop as well as learn the software (my primary reason)

Steps Taken.
Set Static IP address to machines on LAN
Turned on Port Forwarding (22)
Added Rule to UFW allow 22/TCP


View 9 Replies (Posted: July 4th, 2010)

Sponsored Links:

Related Forum Messages For Linux category:
Server :: Ssh: Connect To Host Sage.math.washington.edu Port 22: Connection Timed Out
I've been trying to ssh out of my home network to school computers and I keep getting:

ssh: connect to host sage.math.washington.edu port 22: Connection timed out

I've tried this on my machine (running Ubuntu 10.04) and on a windows 7 machine (using putty). I have been successful ssh'ing to this machine using either of the laptops from every other network I've tried, so I'm pretty sure it's something about my home network.

Posted: 05-26-2010, 08:25 PM

View 3 Replies!   View Related
Ubuntu Security :: Ssh: Connect To Host "server" Port 22: Connection Timed Out
when I am run:

ssh -v "login"@"server"

I get:

OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to server ["address"] port 22.
debug1: connect to address "address" port 22: Connection timed out
ssh: connect to host "server" port 22: Connection timed out

I suppose this is because I am connecting from a public institute where there is a firewall that is blocking an outbound connection on port 22.Is there anyway I can bypass the firewall using the internet ?

Posted: July 13th, 2010

View 2 Replies!   View Related
Ubuntu Networking :: Unable To Connect To Remote Host - Connection Timed Out
I did a clean install of the latest version of Ubuntu. For some reason, there are still internet-issues. When I tried out the following command

Code:
telnet
open ftp.microsoft.com 21
I got
Code:
telnet: Unable to connect to remote host: Connection timed out

Also, during install of the new ubuntu, it was unable to reach the repos for downloading. Odd thing is that I can go online, and that when I type 'ftp.microsoft.com' in my browser, it displays the file-hierarchy.

Posted: December 13th, 2010

View 1 Replies!   View Related
Ubuntu One :: Ssh:connect To Host Restart Port 22: Connection Refused
I am getting "ssh:connect to host restart port 22: Connection refused" error when trying to start "ssh" in Ubuntu. I uncommented the port 22 in ssh_config, I dont have iptables setup...Did try to check if the port is listening using the netstat -an | grep "LISTEN" & couldnt find.

Posted: February 20th, 2010

View 9 Replies!   View Related
Ubuntu Networking :: NX Client - Ssh: Connect To Host Port 22: Connection?
I have a Windows machine on which NX Client has been installed. I wanted to test if I could access my Ubuntu box. The Ubuntu Box has NX Server, Node and Client installed. When I try to log in from the Windows machine using NX Client with my Ubuntu username and password I get an error connection refused.

The following service is running: OpenBSD Secure Shell server sshd How can I resolve the issue?

Posted: July 29th, 2010

View 3 Replies!   View Related
Ubuntu :: Ssh: Connect To Host Stop Port 22: Connection Refused
I'm having problems with ssh and don't know what else to do. I keep getting "ssh: connect to host stop port 22: Connection refused" when i try to stop or start ssh:

[Code]....

Posted: July 21st, 2011

View 2 Replies!   View Related
Networking :: Ssh - Connect To Host 10.137.216.170 Port 22 - Connection Refused
I am facing trouble to scp from server to to my local machine where as the vice-vesra is working fine.

The error is like below.

lost connection

Posted: 06-15-2011, 04:57 AM

View 4 Replies!   View Related
Networking :: Ssh: Connect To Host 192.168.1.11 Port 22: Connection Refused
I cannot use GRsync from Ubuntu Desktop to PCLinuxOS laptop.The 2 computers can ping each other. I have disabled both firewalls. My laptop IP address is 192.168.1.11This is the error on Ubuntu Grsync:

ssh: connect to host 192.168.1.11 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]
Rsync process exit status: 12

On PCLinuxOS it wont say Ethernet is connected when trying a static address setup.However it does connect to the internet via auto Ethernet setup and a LAN cable. It then says connected. In order to use SSH and GRsync what programs are required? I have these installed on both machines: grsync openssh-client openssh-server

Posted: 12-11-2010, 05:12 AM

View 5 Replies!   View Related
CentOS 5 :: Ssh: Connect To Host 111.222.33.44 Port 22: Connection Refused
I have become convinced that rsync for CentOS 5 is broken. I'm trying to set up automatic backups between 2 servers in 2 different countries using rsync under CentOS 5.I can get manual backups to work between the 2 servers by doing two things I shouldn't need to do, but automatic backups fail and I see no solution.Here are the problems I am encountering: According to the instructions I've read everywhere, I am to set up two configuration files:

/etc/rsyncd.conf
/etc/rsyncd.secrets

When I run rsync from root, it apparently just totally ignores these two files. No custom greeting, no log, no password used.
Even when I specify --password-file=/etc/rsyncd.secrets in the command line, it still ignores it. I am prompted and I must enter the password manually. Let me back up a moment. After first installing rsync, when I ran any command to access the root server, I get this error:

ssh: connect to host 111.222.33.44 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(463) [sender=2.6.8]

I read everywhere that rsync uses port 873, not port 22 which is used for SSH. Why is rsync on CentOS trying to use port 22?I have SSH switched from port 22 to another port (let's call it 5432 here) and block port 22.So, I have added this to the command line:

--rsh='ssh -p5432'

Then I get a connection ...

... but it prompts me for my password. It doesn't matter that I have my username and password, same one, in /etc/rsyncd.secrets on both servers. It still asks.And it rejects my password!The only way I can get it to connect is by creating an SSH user on the remote server for this.Even then, rsync STILL prompts me for a password, even though:

1. the username and password are specified in the /etc/rsyncd.secrets files on both servers

2. I've added the command line parameter --password-file=/etc/rsyncd.secrets Therefore, it is totally impossible to use an any cron job or other automatic synchronization, under CentOS 5.

rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync
rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* 111.222.33.44:httpdocs/rsync
rsync -av --verbose --progress --stats --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync

Yes, I have made sure that I have the latest rsync. I have run yum update for everything.Yes, I have double checked, triple checked, and quadruple checked my config files.

Posted: 2010/9/12 7:58

View 2 Replies!   View Related
Ubuntu Networking :: Ssh: Connect To Host Srv3 Port 22: Connection Refused
I have installed ubuntu 11.04 and I'm now trying to connect to existing SUSE servers on the LAN. My home directory has a shared NFS mounted home on the SUSE servers while my home on the ubuntu machine is local. I can log in using ssh to all the SUSE servers except one. I get:

ssh: connect to host srv3 port 22: Connection refused

If I use the IP address of srv3 directly it works. Also, before I changed the default machine name ("ubuntu") I could log into srv3.

nslookup srv3 works OK.
ping srv3 works OK.

Even if I completely delete the .ssh directory in both my ubuntu home and in my shared home on the SUSE servers I still cannot log in using the srv3 name, only direct IP address works. I'm thinking that the login I did to srv3 before I changed the machine name for the ububtu machine must have goofed up something

Posted: May 4th, 2011

View 2 Replies!   View Related
Software :: Ssh - Connect To Host Restart Port 22 - Connection Refused
I am getting "ssh:connect to host restart port 22: Connection refused" error when trying to start "ssh" in Ubuntu. I uncommented the port 22 in ssh_config, I dont have iptables setup...Did try to check if the port is listening using the netstat -an | grep "LISTEN" & couldnt find.

Posted: 02-19-2010, 10:09 PM

View 14 Replies!   View Related
Fedora Networking :: Ssh: Connect To Host 192.168.1.100 Port 22: Connection Refused
I have my desktop computer (running F13) configured to accept ssh over port 22 via the firewall configuration tool. If I type ifconfig -a, this computer, which is running on my wireless network, tells me:

Code:

inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0

However, if I go to my laptop computer (also running F13) and try and ssh into the desktop, i.e. ssh icthy@192.168.1.100, I get this response:

Code:

ssh: connect to host 192.168.1.100 port 22: Connection refused.

I guess I am confused to what is blocking the connection? Is there another means on F13 other than the default Firewall? I haven't really messed with the network at all. For what it's worth, I am hoping to set things up so I can just ssh into the computer name, (ssh icthy@desktop) eventually, but want to start with the IP. So, can anyone offer a hint as to what I can look for that is blocking port 22?

Posted: 27th November 2010, 08:41 AM

View 3 Replies!   View Related
CentOS 5 Networking :: Error: Unable To Connect To Remote Host: Connection Refused, It Happens With Any Port
I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.

Posted: 2009/2/11 20:11

View 3 Replies!   View Related
General :: Ssh Port 22 Connection Timed Out
i have two PCs A and B, both are connected via LAN PC A Configuration is

IP Address 10.102.6.232
Broadcast Address 10.102.6.255
Subnet Mask 255.255.255.0
Default Route 10.102.6.2
Primary DNS 144.16.192.55
[Code]...

I am trying to connect B from A using command shh -X devendra@144.16.205.236, and facing error like ssh port 22 connection timed out.

Posted: 03-21-2011, 04:26 PM

View 13 Replies!   View Related
General :: Host Webserver: Connection Timed Out - No Servers Could Be Reached
I have standalone Suse 10 SP3 that when I run

Code: # hostname webserver but when I run host command

Code: # host webserver;; connection timed out; no servers could be reached I would like to get the IP when I issue

[Code]....

Posted: 02-17-2011, 10:23 AM

View 3 Replies!   View Related
Server :: Cannot Send Outbound Mails Connection Timed Out (port 25)?
I've ben punding myhead on this issue. I've setup a new postifx server on rhel5. After editing the needed entries, i can't seem to send any outbound mails to yahoo or any other domains.My postconf -n is as follows:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin

[code]...

Posted: 02-04-2011, 06:26 PM

View 2 Replies!   View Related
General :: Ssh Port 22: Connection Timed Out ( Unable To Copy File Remotly )?
I am trying to copy the file on remote server, but I am getting error " ssh: connect to host 172.28.21.14 port 22: Connection timed outlost connection "My two server are bastion10 and newlink, I want to copy file from newlink to bastion10 buet unable. I am able to ping, when i run " lsof -i :22 " command on link3new server I am getting

link3-new:lsof -i :22
sshd 6992 root 4u IPv6 11878 TCP *:ssh (LISTEN)
while on bation10 it is ( ESTABLISHED ) ..

Posted: 04-03-2010, 02:45 PM

View 3 Replies!   View Related
Ubuntu Networking :: Cannot Connect To Websites - Connection Timed Out
I am relatively new to Ubuntu. Currently running Lucid Lynx, but I cannot connect to the internet. I can ping 127.0.0.1, and google.com. Software update works as well, but the connection times out when I try connecting to a web site e.g. bbc.uk.

Posted: July 13th, 2010

View 4 Replies!   View Related
Red Hat / Fedora :: Connection Timed Out When Trying To Connect To Via Putty?
when I try to connect via PuTTY from a windows machine I get " PuTTY Fatal error connection timed out. I try to do so via a router redirecting IPadr:86 to local adr:22 on the Linux machine.

I seems not to be a routing issue since the router is setup to redirect apparently correctly.

Well I have stopped iptables and selinux is disabled. The sshd deamon is running. I can logon with ssh locally "ssh webcamATlocal adr".

Posted: 07-04-2011

View 3 Replies!   View Related
Ubuntu Multimedia :: Could Not Connect To Packages.medibuntu.org:80 (88.191.82.11), Connection Timed Out
I get the below errors when trying to connect to the below repos.It has almost always worked in the past. Is the site "packages.medibuntu.org" down again !?

Err http://packages.medibuntu.org karmic Release.gpg
Could not connect to packages.medibuntu.org:80 (88.191.82.11), connection timed out
Err http://packages.medibuntu.org karmic/free Translation-en_CA

[code]....

Posted: April 21st, 2010

View 8 Replies!   View Related
General :: Ssh: Connect To Host 192.168.100.xxx Port 22: No Route To Host
I'm trying to ssh from my laptop to my desktop (both fedora 14) over a local network. I can ping my desktop and get responses, but if I ssh to it, I receive

ssh: connect to host 192.168.100.xxx port 22: No route to host

I can ssh from the desktop to itself.

Posted: Mar 9 at 21:14

View 4 Replies!   View Related
Ubuntu :: Update Manager Errors - Could Not Connect To Mirror.pacific.net.au:80 (61.8.0.17), Connection Timed Out
I have been getting these errors while running update manager and I can't seem to find specific information or how to resolve these problems. Was hoping someone could please provide me with some details about why they are occurring so I can deal with them myself next time and how I can go about fixing them now.

Quote:

W: Failed to fetch http://mirror.pacific.net.au/linux/u...ic/Release.gpg Could not connect to mirror.pacific.net.au:80 (61.8.0.17), connection timed out
W: Failed to fetch http://mirror.pacific.net.au/linux/u...tion-en_GB.bz2 Unable to connect to mirror.pacific.net.au http:

[code]....

Posted: April 2nd, 2011

View 9 Replies!   View Related
Fedora Networking :: Using Putty To Connect To A Machine / Host Name And Port To Connect?
Right now I have a machine set up running Fedora. I have configured inittab to accept Console Logins, but I am having problems getting my netbook running PuTTY to connect. How would I go about finding the Host Name and Port to connect to?

Posted: 23rd July 2010, 09:11 AM

View 6 Replies!   View Related
Fedora Servers :: Port Setting Up Server For PHP - "Connection Timed Out" Every Time
In a little over my head here but eager to learn. Running Fedora 10 on an IBM T41. Trying to set up a local server so that I can run PHP and test webpages locally (I'm a client-side web designer). Went through the SendDerek tutorial and everything went great until I tried to check the port with canyouseeme.org. I get "Connection timed out" every time.

- The httpd service is started via the terminal.
- Port 80 is unblocked via "Firewall Configuration."
- I set up port forwarding on my router.

What am I missing? I just want to be able to have the local computer run my PHP scripts instead of having to upload them to a remote server every time I make a change.

Posted: 3rd March 2009, 03:40 AM

View 10 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved