Questions tagged [ssh]
Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.
9,036
questions
0
votes
0
answers
24
views
How can I close established SSH connections after shutting down SSHd server on Windows?
I recently installed the OpenSSH server and OpenSSH client that come with Windows 11.
When I turn off the server, any incoming ssh requests are rejected, as they should be. But, already established ...
0
votes
0
answers
28
views
p11-forwarding: NGINX cannot load private key in remote server via unix-socket, but openssl can
I am trying to follow this tutorial https://p11-glue.github.io/p11-glue/p11-kit/manual/remoting.html
I used to struggle with the setup, but thank for the answer here link, I manage to use p11-remote. ...
1
vote
1
answer
33
views
slow ssh connection when enabling x11 forwarding (in local network from selected machines)
I have virtual machine on my local network (1G), which I use as linux development enviroment.
I connect to this machine from my Windows 11 PC using VCXsrv and x11 forwarding.
Recenntly all application ...
0
votes
2
answers
64
views
SSH connection drops when executing long-running command, but not when idle
I connect to some production Ubuntu systems through a bastion host using SSH-tunnelling. Recently, I have found that when executing long running commands on the production systems (eg. backup and ...
0
votes
0
answers
32
views
One server unreachable from VPN, but accessible from LAN
I have several servers behind a router that requires VPN to connect to them, which has been working for months. This week, one of them started rejecting SSH connections from the VPN, but other ...
2
votes
1
answer
70
views
Ubuntu : open terminal that appears to remote desktop
I have ubuntu desktop running on a remote pc.
As an administartor, I can ssh to that pc from my local computer.
From my ssh session, I want to open a gnome terminal that appears in the remote desktop ...
1
vote
0
answers
34
views
How to use git commands via sshagent in Jenkins?
Good afternoon, I ran into the problem that I can't use git commands via sshagent.
The idea is that I upload an update to GitHub, a hook is triggered, jenkins connects to a remote node, stops the ...
0
votes
0
answers
53
views
SSH with public key and google auth 2fa with whitelist ips
I'm trying to find a configuration that will required public key and 2fa by default but only public key from whitelisted ips for the same user.
With the config below login from an external ip works as ...
5
votes
2
answers
441
views
Get command history run by third party through ssh
I'm providing access to third party service through ssh, that service install some packages and do other kind of configuration on my server I want to know which commands or scripts are run by that ...
-1
votes
0
answers
17
views
Migrating Azure VM to AWS using MGN
Q1
I have migrated a RHEL server from azure to aws using MGN, and even after the successful cutover, it is not getting launched and showing error establishing ssh connection when I'm connecting it via ...
1
vote
1
answer
55
views
VSCODE remote ssh editing cannot find my host
in terminal I do ssh [email protected] or ssh [email protected] and it works
in VSCODE I do the same in Connect to Host in the remote-ssh plugin and It does not work
error:
Could not establish connection ...
0
votes
0
answers
212
views
OpenSSH for Windows SFTP logging is missing username after Windows Server 2022 October 2024 monthly update KB5044281
After Windows Server 2022 October 2024 monthly update KB5044281, the username is not logged for SFTP uploads or any other commands. Before the update it was listed in USER field. Now the username ...
0
votes
0
answers
48
views
What does "Connection" mean in the context of Ngrok?
I have a self hosted miniserver at home, on which I run a tcp tunnel for ssh using an Ngrok client.
On the ngrok usage page https://dashboard.ngrok.com/usage, I'm hitting free-tier limits for several ...
0
votes
0
answers
97
views
Ping works, but creating new SSH connections fail intermittently
Environment
server OS: Linux 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
server SSH: OpenSSH_8.2p1 Ubuntu-4ubuntu0.8
OpenSSL 1.1.1f 31 Mar ...
1
vote
1
answer
244
views
SSH Server error 1067 on Win Server 2019 when using internal-sftp subsystem to allow SFTP but disallow SSH
I've been using the internal-sftp subsystem approach since 2021 without problem to allow SFTP but disallow SSH.
My ssh_config file code is:
ForceCommand internal-sftp
Subsystem sftp sftp-server.exe ...