Server :: Ssh: Connect To Host Sage.math.washington.edu Port 22: Connection Timed Out
May 26, 2010
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.
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 ?
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.
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:
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
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.
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.
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:
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?
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.
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?
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:
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.
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
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.
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.
I have 2 servers.. let say server A and server B On server A open ssh is configured and is running on port 2298. So from my machine I can login there using ssh on port 2298 But when I login to server B and from there I try to connect to server A I cannot. ssh: connect to host <ipaddress here> port 2298: Connection refused
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 ) ..
Linux printing appeared to be working fine up until yesterday. Today typing lpq gives the following: lpq Printer 'sdst@other.domain' - cannot open connection - Connection timed out Make sure LPD server is running on the server
The /etc/cups/printers.conf file is properly set, the printers appear in localhost:631 and they are printing test pages. However, all command line print commands seem to be trying to print to sdst@other.domain I don't know why printers.conf is being ignored and why and how sdst@other.domain was added. Seems like it might have been auto-discovered?
# dit: sdst@other.domain was mentioned in /usr/local/etc/lpd.conf I'm not sure why lpd.conf is being used instead of /etc/cups/printers.conf
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".
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 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.
I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:
Code:
# This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for[code]...
When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.
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
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:
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?
I have SSH running on port 8662 and 22. I use 8662 for the outside world (eth0 which is 192.168 network) Here are the only lines I have changed in sshd_config:
Port 22 Port 8662 #Protocol 2,1
[code]....
BTW, ports forwarded on my firewall, checked and triple checked it.