[SOLVED] Changing ssh port
location: linuxquestions.com - date: May 8, 2013
I changed the default port by editing sshd_config file and placing the desire port (removed the comment out)
I also updated iptables by removing 22 and putting the desire port.
The centos is 6.4. I had the same issue with 6.3 but forget what I did to fix it. I also turned selinux off.
I am reading about iptables, that the line has to be above the reject command?
If I turned off the firewall, it works.
terminate SSH port forwarding
- date: January 31, 2010
I have a script to establish a reverse tunnel with other machine, like:
cmd="ssh -N -R *:3005:127.0.0.1:3010 [email protected]
echo $! >> /tmp/run/sshtunnel.pids
My problem is to stop the tunnel. If I just kill the PID at sshtunnel.pids, ssh does not release the ports at the server side, so any new connection will fail for several minutes.
Is there any way to signal SSH to exit gracefully?
SSH port forwarding thru a NAT Firewall
location: linuxquestions.com - date: July 27, 2005
I have tried this SSH port forwarding thru a NAT Firewall but I just don't get it. I guess that's why I'm called a NOOBY.
I have been able to SSH from my companies PC to my home PC using Telnet port 23.
Ultimately I'm trying to VNC from work to my home PC using tunneling.
THnx you guys
SSH Port Forwarding for Xbox Live
location: ubuntuforums.com - date: January 3, 2010
Hi there, sorry if this is the wrong place to post im pretty new to the forums.
Basicaly, Im trying to get around a blocked port (tcp 3074) on the local network. I have found that SSH is the way to go by following some helpful threads that ultimatly lead me here: SSH Tunneling
Im running ubuntu 9.1 on my laptop, and ive got a virtual private server of my own with full SSH access located across the country somewhere. Ive manged to forward port 9999 via my VPS to allow internet access on my local machine, so I know i must have the requirements in place. The command I used for that was (removing real details obviously):
ssh -ND 9999 22.214.171.124 -l usernameForVPS
So want I want to do is forward the port on my local machine  to my VPS, then the VPS use port 3074 to commuinicate with the xbox server. Just simply to bypass the blocked port on the local area network.
I know a lot of people's reactions will be "are you sure you are allowed to do this??",
SSH Port 22 used without intention
- date: January 29, 2014
I run gdb debugger remotely on a host PC (ubuntu 12.04, 32 bit). At first I can connect to the target with its IP address. Now I don't know what reason itself adds a port 22, which gives error to the connection.
Besides the above IDE, I also test with a terminal. It has the same problem. (I do not use port 22, but it adds it)
:~$ ssh [email protected]
ssh: connect to host 192.168.0.131 port 22: No route to host
There is an article talking about SSH port 22, but it is difficult to understand it and solve the problem. Hopefully you can help me.
Why putting SSH on another port than 22 is bad idea
On to the next reason not to change ports: A lot of applications actually EXPECT ssh traffic on port 22. Now this might be a debate wether or not those programs are developed properly, but it’s a fact. Even though you can easily change the port in many applications but not all of them do. Trust me, it WILL
[Solved] Using rsync on a different SSH port
- date: June 5, 2009
Quick question for y'all:
Computer A is trying to synchronize a folder with Computer B.
Computer B is behind a router which translates the external port 23 into the internal port 22 (ssh).
Computer A: rsync -avze ssh ~/MilitarySecrets/ [email protected]
However, try as I might to mess around with switches, rsync just won't connect to computer B on port 22! It seems as though because I'm using an SSH tunnel, it uses the defaults and picks port 23, which isn't the correct computer.
--PORT=23 doesn't work, it uses port 22 anyway.
SSH Port 22 query (honeypot)
location: linuxquestions.com - date: December 17, 2013
Hi guys, recently set up my RPi to be publicly accessible via SSH. One of my colleagues at university is running it as a honeypot.
Since December 14th I've had just under 3k failed login attempts!! Now, this is just a little experiment I'm running out of pure curiosity so nothing is taken seriously, except the password. I will eventually install SSH-Guard.
I've notice they avoid the default authentication limitations (5/6 password failed attempts) by simply disconnecting after every failed attempt. However, usually when you disconnect from an SSH attempt, you must re-enter a new username you wish to login in with... These guys don't, they are able to by-pass the 5/6 password failure limitation and keep trying with that same username. I'll show you an extract from the logs...
This is me when I tried a placebo failed login attempt:
[SOLVED] Nonstandard ssh port Connection Refused
location: linuxquestions.com - date: March 21, 2014
Hello everyone, this is my first post and I thought I would request help with a problem I have been struggling with for a few days now. I am trying to change my ssh port from the standard 22 to a new four digit number (lets say xxxx) but when I try to connect remotely I receive
SSH Port Forwarding behind university firewall
location: linuxquestions.com - date: September 14, 2008
My university has allowed internet access via port 80 from within the school but I am unable to ssh to my machines outside of the school.The school is only allowing port 80 traffic out to the internet but no other services are allow such as 25,110,22 and others. My question is:
I know that port 80 is allowed out so how can I use port 80 to get to my ssh server at home which is set to 12022?
Changing SSH port
location: ubuntuforums.com - date: August 28, 2009
I would like to change the port Ubuntu listens to for SSH. Can someone point me to the correct file to edit?
Thanks in advance!
Page: 1 2 3 4 5 6 7 8 9 10