Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 10, 2013 11:47 am 
Offline
Senior Newbie

Joined: Tue Dec 15, 2009 11:58 am
Posts: 18
Website: http://bluefoxstudio.ca/
Location: Ontario
I'm no longer able to log into my Linode web server from work. I can still log into the server from home with no issues. I've opened up my '/var/log/auth.log' file and this is what I get when the work logins fail:

Code:
Jan 10 10:27:30 bender sshd[3196]: fatal: Write failed: Connection reset by peer [preauth]
Jan 10 10:27:32 bender sshd[3198]: fatal: Write failed: Connection reset by peer [preauth]
Jan 10 10:27:33 bender sshd[3200]: fatal: Write failed: Connection reset by peer [preauth]
Jan 10 10:27:35 bender sshd[3202]: fatal: Write failed: Connection reset by peer [preauth]
Jan 10 10:27:36 bender sshd[3204]: fatal: Write failed: Connection reset by peer [preauth]
Jan 10 10:27:37 bender sshd[3206]: fatal: Write failed: Connection reset by peer [preauth]
Jan 10 10:27:39 bender sshd[3208]: fatal: Write failed: Connection reset by peer [preauth]
Jan 10 10:27:40 bender sshd[3210]: fatal: Read from socket failed: Connection reset by peer [preauth]
Jan 10 10:27:41 bender sshd[3212]: fatal: Write failed: Connection reset by peer [preauth]
Jan 10 10:27:43 bender sshd[3214]: fatal: Write failed: Connection reset by peer [preauth]


This is multiple attempts; I tried to have the errors stand-out in the log file.

My Google-foo has failed and I don't really know where to go from here. Any ideas?

I'm running:
Ubuntu 12.04.1 LTS (GNU/Linux 3.6.5-linode47 i686)

Let me know if you need any further information about the system.

Thank you!


Top
   
PostPosted: Thu Jan 10, 2013 5:06 pm 
Offline
Senior Newbie

Joined: Tue Dec 15, 2009 11:58 am
Posts: 18
Website: http://bluefoxstudio.ca/
Location: Ontario
I just had a chat with our IT team. They were blocking secure connections. Doh!

Thanks anyways!


Top
   
PostPosted: Fri Jan 11, 2013 10:23 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
refringe wrote:
I just had a chat with our IT team. They were blocking secure connections. Doh!

Thanks anyways!


If they simply block port 22, you can configure SSH on your Linode to use port 443 instead. Port 443 is expected to have encrypted data, as it is used for HTTPS to banks and such. This worked for me a while back. If they inspect the packets to see if you are using the SSH protocol and block those, as later happened for me as well, of course it won't work.

In such cases you can use corkscrew for SSH over HTTP:

http://en.wikipedia.org/wiki/Corkscrew_%28program%29

James


Top
   
PostPosted: Fri Jan 11, 2013 2:22 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
zunzun wrote:
In such cases you can use corkscrew for SSH over HTTP:

http://en.wikipedia.org/wiki/Corkscrew_%28program%29

James


Mmmmmm. Love it!

_________________
/ Peter


Top
   
PostPosted: Fri Jan 11, 2013 4:28 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
I wrote a TCP over HTTP proxy years ago, the big question is does Corkscrew support communicating solely over GET/POST, or does it require CONNECT, which is commonly disabled on proxies?

My work in that area was limited in that I had the restriction (due to who I was doing the work for) that the server side had to run on port 80 with an existing web server already on port 80. Basically, I had to work through the existing webserver. I ended up implementing both the client and server side in PHP. Downstream was good, because I could have the client do a never-ending GET, and that worked, but the upstream direction didn't work so well, because PHP refused to give me access to the POST until the client had finished, so I had to keep making periodic POST requests to actually read the data.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group