firewall has blocked ssh

2

1

I want to connect to remote amazon aws service(EC2 instance) , and I would like to be able to ssh to it from my laptop while using the campus provided network (which has cyberoam firewall). However, they have pretty much every port blocked and ssh won't work. Is there anything i can do? does ssh run through port 80? I don't really know what to do .

All it says is : " ssh_exchange_identification: read: Software caused connection abort "

ssh works elsewhere.

user240034

Posted 2013-07-23T08:24:14.290

Reputation: 21

Answers

2

If you have access to modify the sshd service on your EC2 instance, you can add a post to listen on. I wouldn't recomment using 80, but perhaps another one going outbound is open.

Man Page for sshd_config

Example update to /etc/sshd_config

Port 22
Port 80
Port 32022

Randy James

Posted 2013-07-23T08:24:14.290

Reputation: 151

0

SSH runs on Port 22, unless you ask the Technicians there to enable port 22 or allow you access to it then you won't be able to access it from their network.

I guess you can be unethical about it, but I can not advise how.

Ash King

Posted 2013-07-23T08:24:14.290

Reputation: 1 175