ssh port not working
location: linuxquestions.com - date: March 28, 2010
i have centos 5.4
i change port in /etc/ssh/ssh_config and restart sshd service
when i try to access, the new port not working and old port still responding from windows pc. then suddenly i found port 22 and new port stop responding no more.i use putty or securecrt from my window pc. then i connect 1 more linux box from there i do <ssh> i found it is still using port 22
i am not using any firewall or route nothing block it is testing on network.
then also i were using scp jobs in crontab that stop working.
highly appreciate in advanced
SSH Port Forwarding that won't quit!
- date: October 1, 2009
I was recently playing with port forwarding via ssh from a remote location to my home server. During the session I set up a wordpress blog and performed some other menial tasks. Now that I'm home I am trying to access the site by navigating to 'localhost' but I am immediately redirected to the port I was previously forwarding to. Unfortunately there is nothing at that location. I have tried:
specifying port 80 specifically, killing all instances of ssh, shutting down the ssh server, rebooting and determining that there are no proxies enabled in Apache.
The only clue that I have here is that when I was setting up the port forwarding I left out some arguments, so it looked like this:
ssh -L 15560:localhost:80 [email protected]
This logs me into the server. The command should have looked like this:
ssh -L 15560:localhost:80 -fN [email protected]
I suspect this may have established some kind of permanent remapping but I'm not 100% on that. Any help would be appreciated.
SSH Port Forwarding for web server
location: ubuntuforums.com - date: February 20, 2010
This should be easy but for some reason its not working. I don't have admin rights on one of my local networks to open the firewall for port 80 to make my server accessible remotely (from the internet). I have a remote server (OpenVZ VPS) and I want to port forward so that http://my-vps-remote-host:8080 will point to my localhost:80 from the internet itself (i can get it to work on the remote VPS server's local network)...
How could I accomplish this? Basically, I am trying to serve webpages from behind a firewall using a VPS as a hub.
Thanks so much in advance
Problem in remote ssh port using Port Forwarding
location: linuxquestions.com - date: September 26, 2012
These the scenerio im trying to work out
51.26.12.xx(static) -Nated -10.200.2.1(localofficenetwork)
SSH Port Forwarding
- date: January 9, 2009
I'm trying to forward a remote port (8085) to a local port (3333).
Keys are setup, and I can ssh into the remote machine without needing to manually authenticate.
In remote machines ssh_config, "GatewayPorts yes"
The only thing I can think of is the remote machine possibly not having the correct iptable entries, currently:
-A INPUT -p tcp --dport 8085 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8085 -j ACCEPT
... or, in the process of creating this key, this is the first time I actually provided a password for the key... instead of hitting enter twice like most people seem to do
Here is the output of my ssh command:
ssh -v -nNT4 -R *:8085:localhost:3333 [email protected]
ssh -v -p 22 -nNT4 -R *:8085:localhost:3000 [email protected]
debug1: Found key in /Users/me/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
Option controlling ssh port forwarding
location: linuxquestions.com - date: November 10, 2011
im very new to linux im using putty for a long time but i found out the option
for controling ssh port forwarding which perform
*lOcal port accept connection from other hosts
*Remote ports do the sama(ssh-2) only
*Add new forwarded port
whether its possible do do port forwarding in ssh in linux machine can some one share me good link how can i configure
ssh tunnel in linux...
ClusterSSH> how to add nonstandard ssh port?
- date: August 28, 2011
I have downloaded and installed ClusterSSH and have it working on all except one of the servers that uses a nonstandard ssh port. I tried the usual syntax that would normally follow a ssh command:
-P XXXX [email protected]
but when I run cssh it opens a window that tells me that it tried to connect the nonstandard port as user "XXXX" on port 22.
Has anyone ran into this and is there a syntax fix or did I miss something in the docs?
Complex usage of ssh port forwarding
location: linuxquestions.com - date: March 5, 2011
I am having trouble with computers communicating on the wireless lan. However, if I ssh into the wireless access point and then ssh into another computer on the wlan, that works fine. The draw backs to that is I am restricted to only ssh and without X forwarding. So what I would like to do is set up ssh port forwarding so that computer2 with vnc server 5900 on the lan will be accessible through 40000 on mycomputer using the wireless router's ssh as the go-between with ssh port forwarding. How can I accomplish that? Every time I read about this, I think I understand it, and but then I must have done something wrong because it's not working the way I thought. I have successfully done ssh port forwarding in the past without using a third computer as a go between. Both the wlan access point/router and computer2 are running an ssh server.
SSH Port Forwarding...
location: linuxquestions.com - date: July 22, 2008
Alright guys I normally dont post questions but this one is really eating me from the inside out. So I have a ubuntu computer in my house which it has an sshd running it works like a champ, one of the reasons I use it is to ssh tunnel, for security reasons and yes to bypass content filtering of my company or any other place. So if im in a windows box I download putty and just do a "putty -ssh -D 8080 -P 443 mydomain.no-ip.com" login with my credentials and im there, just go a change the proxy settins to point to 127.0.0.1 on port 8080 and thats it. Now sick and tired of windows at work I completely changed to linux, im running ubuntu 8.04 and Im trying to do the same thing but it is not working. If I do a "ssh -L 8080:mydomain.no-ip.com:443 mydomain.no-ip.com -p 443 I connect I put my username and password and looks good, but I dont get to use it as a proxy, if i put the proxy setting on the mozilla I get a "protocol mismatch" error on the screen, if I set up p
change ssh port
location: linuxquestions.com - date: March 10, 2010
Hi i need to change ssh port on the servers including centos and ubuntu
when i make changes to /etc/ssh/sshd.config and change the port to something else
then i can determine that port 22 is not working
but ssh does not connect to new port
it says "no route to the host"
Page: 1 2 3 4 5 6 7 8 9 10