You are not logged in.
Today when I try to connect to either of my servers via ssh, it hangs after authentication.
Here's the tail of the debug output:
debug1: Entering interactive session.
debug1: pledge: network
debug3: receive packet: type 91
debug2: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug3: send packet: type 98
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
The confusing thing is that doing something like
ssh myserver bash -i
works just fine. Has anyone encountered this before?
Offline
I'm guessing that bash is your server-side shell? Is there something strange in your ~/.bash_profile, like an endless for loop?
Just to clarify though, are these servers running Arch?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
No, these servers are running ubuntu. I share one with a friend and he was able to ssh no problem.
I was also able to ssh to them yesterday, but am not now. No changes to my .bashrc or .bash_profile since then.
Offline
So what has changed since then? Anything on the client side?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I synced pacman yesterday, and added a couple packages (which I don't think should have any impact on this). One thing that I haven't had the opportunity to try yet is SSH-ing from a different network to see if it's my ISP or router.
Offline
Okay so I used my phone's mobile hotspot, and was able to SSH over that, but I can't use my home network.
Any idea how I can diagnose what's breaking when I try to get an interactive session on my home wifi?
Offline
New information: SSH-ing using the IP instead of the alias in my ssh config file. I have no idea why this would be the case.
Offline
New information: SSH-ing using the IP instead of the alias in my ssh config file. I have no idea why this would be the case.
Do you mean that using the IP instead of the alias works fine? Would you mind posting your ssh config file after sanitizing any sensitive information.
Side note: Please do not post multiple times in a row. If your last post has no reply, you should edit that and add the updated information in that post itself.
Offline
Host openstack
HostName 192.0.2.3
User dyoshida
IdentityFile ~/.ssh/id_openstack
So
ssh openstack
but,
ssh -i ~/.ssh/id_openstack dyoshida@192.0.2.3
worked. However, this was likely just a fluke since it's back to not working regardless of how I issue the command now.
Offline