All Questions
503
questions
10
votes
5
answers
225k
views
SSH :connect to host localhost port 22: Connection refused
In debian kali I tried to connect ssh and getting the following error :
SSH: connect to host localhost port 22: Connection refused
Background :
I was trying to connect ssh in debian, I am using ...
10
votes
3
answers
2k
views
Attach to the same tmux session from different nodes of a cluster
I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to re-...
9
votes
2
answers
6k
views
Hyper-V guest hostname doesn't resolve in local network
My Hyper-V host is Windows 10 Enterprise x64. I only have one guest running: archlinux.
The guest is connected to all NICs:
WiFi
Ethernet (physical)
Occasionally, I will SSH into the guest from ...
9
votes
1
answer
13k
views
Why would anyone install openssh-client instead of openssh-server? [closed]
I installed openssh-server on two pc's. I can connect from both from the one to the other. So if openssh-server sends as well as receives ssh, why would you install the openssh-client, just to make ...
9
votes
1
answer
15k
views
Troubleshooting "Connection closed by authenticating user andy 173.63.60.32 port 11706 [preauth]"
As noted in the title, I am having trouble connecting to a remote server through ssh.
I am trying to connect a Windows machine to a server running CentOS. I have been using PuTTY on the Windows ...
8
votes
1
answer
20k
views
Can ping but can't connect (curl, wget, apt-get, etc.) (rasberry pi server)
Background:
I am trying to set up a rasberry pi server. Everything was going well and my pi could apt-get update etc, until I got the port forwarding to work and ssh to work outside of the LAN. I ...
7
votes
3
answers
8k
views
how to solve: ssh "Connection corrupted" error
On a Oracle/RedHat VM that I use every days (probably after the nightly upgrades) I've this authentication error:
$ ssh machine
Bad packet length NNNNNNN. ssh_dispatch_run_fatal: Connection to A.B.C.D ...
7
votes
4
answers
24k
views
SSH gateway server
Is there anyway to set up a ssh gateway server? What I am trying to setup is a way to connect to a specific linux shell on a Lan remotely from the internet without using port numbers. So for example ...
7
votes
2
answers
3k
views
Why ssh -R allows port '0' but ssh -L needs a port number?
Why with ssh -R is possible to allocate a free port by specifying '0' while with ssh -L you need to specify a valid free port?
I want ssh to use a local free port to FWD remote traffic without ...
6
votes
2
answers
16k
views
Use ProxyCommand for all SSH Connections
I was playing around with the idea of having a SSH Proxy Server or otherwise called Jump Host, which I would use to connect to all of my "hidden" Servers. So basically I have the following setup. ...
6
votes
6
answers
105k
views
SSH error ssh_exchange_identification: read: Connection reset by peer
I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
6
votes
2
answers
2k
views
Forward DNS request to my work's jump server
I have SSH access to a jump box on my work. This jump box gives access to the complete network infrastructure at work. This is great to work from home.
I am able to run a SOCKS5 proxy on the jump box ...
6
votes
1
answer
14k
views
Remote desktop connection to linux computer
I am frequently using ssh to connect to remote linux machines. Using ssh -X it is even possible to use the gui. Unfortunately, this is very slow, when done over the internet. The gui is very sluggish, ...
5
votes
1
answer
24k
views
Send Telnet command inside a SSH Tunnel
I want to connect my personal computer to some routers via Telnet, for managing them.
Actually, my routers is in another network. I open the console, make a SSH connection to the Main Mahcine, and ...
5
votes
3
answers
7k
views
Set up direct SSH connection from A to C without public IPs using one public SSH server
I have available these SSH servers/clients:
A - without public IP
B - public IP
C - without public IP
I know, I can establish an SSH connection from A to C as follows:
1) Hook C to B. ...