Skip to main content

Questions tagged [ssh]

SSH (Secure SHell) is a protocol for securely running commands on a remote computer. Use this tag for questions about configuring, using and trouble-shooting SSH client and server software.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

I just install a Kali server on my desktop using VMWare. The VMWare image has been setup to us a NAT network. Using the ifconfig command on the Kali server, I know my IP address of the Kali server, it'...
John Engineer's user avatar
0 votes
1 answer
36 views

On some of my server systems (Debian trixie), wifi power saving causes "laggy" terminal response on the client side of the SSH connection. By "laggy" I mean that there is an ...
Seamus's user avatar
  • 3,896
0 votes
0 answers
23 views

I got a small setup with two private servers ps1 and ps2 at home behind a NAT. One server s1 with public domain s1.com is a small rented vps where I set up as reverse proxy with caddy. On ps1 I had a ...
dabozz's user avatar
  • 1
-1 votes
1 answer
45 views

Fedora server said But when I try it from host ssh vsock%1 ssh: Could not resolve hostname vsock%1: Name or service not known Question: how to see the vsocks?
elbarna's user avatar
  • 14.5k
0 votes
0 answers
36 views

I made a Compute Instance with Oracle Cloud because I'm trying to run a python code 24/0. I have tried connecting to it all day with no results. Here's what went off in the PowerShell:PS C:\Users\...
Jakab Matyi's user avatar
4 votes
1 answer
190 views

In my environment I have: a Jenkins build server that I can ssh into using private/public keys. I can use sshfs to mount its file system on my local pc (running WSL on Windows 11, ugh but I can't ...
noughtnaut's user avatar
1 vote
0 answers
48 views

I'm an SSH scripting novice, so I'm trying to understand whether I'm just doing it wrong or there is an issue. Background: I'm trying to connect VSCode RemoteSSH to HuggingFace Space dev mode and ...
Ark-kun's user avatar
  • 111
0 votes
1 answer
52 views

I have 2 users and their distinct ssh keys, and a ssh server only accepting keys user_1: a normal account with ssh and sftp accesses. Trusted. It can escape its home and download anything it can read....
Sandrew Cheru's user avatar
3 votes
1 answer
131 views

We have a nessus scanner at work, this machine is browsing the whole infrastructure to spot security holes and other issues. I have a curious behavior on one of my debian 12 machines after a corrupted ...
darxmurf's user avatar
  • 1,236
0 votes
1 answer
39 views

My .ksh scripts in my mac usually run successfully, and until yesterday were initiating an ssh connection with the following command successfully: ssh -o StrictHostKeychecking=no -o ...
CoolChap007's user avatar
0 votes
0 answers
47 views

I’ve been running into a frustrating issue with SSH connections lately and could use some advice or insight. When I SSH into a few of our servers, the connection drops with an error like: ...
Roberto_1986's user avatar
1 vote
1 answer
121 views

I have a problem with SSH key usage for GIT on windows. It works fine from windows GUI git clients. From the terminal - git-bash / mingw32 - it fails with $ git pull git@<gitserver redacted>: ...
mud's user avatar
  • 139
1 vote
2 answers
106 views

I need to pipe data through SSH to a command that reads stdin. The command needs to run with sudo so I need to be able enter the sudo password, too. Without ssh, I'd use numbered file descriptors like ...
con-f-use's user avatar
  • 434
3 votes
2 answers
632 views

I set up an SSH key using GNOME's Seahorse, also known as Passwords and Secrets. The application appears to have saved the private key to ~/.ssh/id_rsa. I have copied the public key to the server ...
newunix's user avatar
  • 339
0 votes
1 answer
234 views

I made an account with rsync.net for backups but am having issues setting them up with the GNOME Project's Pika Backup. I set the location as: ssh://<username>@<username>.rsync.net/~/...
Kitty Cat's user avatar
  • 181
5 votes
1 answer
308 views

This is a bit long winded but I want to give as much information as I can. I have a Synology NAS running DSM 7.2.2: steve@NAS:/volume1/docker/backuppc-mdns$ cat /proc/sys/kernel/syno_hw_version DS223j ...
zephod's user avatar
  • 83
0 votes
1 answer
239 views

I have a device connected to my home network that wants to SSH via WireGuard VPN Peer. The VPN subnet is 10.0.0.x/24. The issue is: I can successfully connect to the device via SSH. The SSH session ...
Jovan Tatic's user avatar
1 vote
2 answers
657 views

I can't get ssh-agent to work like I want to. It keeps removing the saved identities on reboot. I use AddKeysToAgent in my .ssh/config like this: AddKeysToAgent 30w That's the top of the file, ...
Konzertheld's user avatar
1 vote
1 answer
120 views

I'm opening an SSH session from Fedora to Raspberry Pi OS. Accented and special characters are replaced with question marks. Preferably I would like to learn to solve this without changing the server'...
Cutter's user avatar
  • 71
3 votes
1 answer
200 views

Is there a way to do this? My web search didn't find one. I'm familiar with StrictHostKeyChecking but there doesn't appear to be an "automatically reject" option. I'm wanting to move to ...
Senior Geek's user avatar
0 votes
0 answers
82 views

I have a server called publicserver on the public internet, and a second server (called privateserver) behind a NAT firewall. I also have a client PC (client, running Linux) behind another NAT ...
Jens's user avatar
  • 278
4 votes
1 answer
657 views

As the title says. Upgraded Bookworm > Trixie, and now ssh is hanging 10 seconds at login, via home local network, when it never used to. 2025-08-17T16:07:29.828339+10:00 debian sshd-session[4260]: ...
Tony Puryer's user avatar
2 votes
1 answer
396 views

When reading up issues to be aware of for Trixie, specifically interrupted remote upgrades (SSH), caught my eye. I have one server I wanted to upgrade, to which I do have physical access, so this ...
Vlastimil Burián's user avatar
1 vote
1 answer
85 views

In my home local area network,Win10 is 192.168.28.242,debian is 192.168.28.252.SSH Server is installed on Win10 ,SSH service is on.I can connect Win10 from debian. debian@MiWiFi-R4A-srv:~$ ssh hello@...
showkey's user avatar
  • 601
2 votes
1 answer
97 views

I am working on getting headless Raspberry Pi running Ubuntu Server 25.04. I haven't done this in a while and... passwords are no longer a thing, which is frustrating, but understandable. I have ...
elcman's user avatar
  • 31
0 votes
1 answer
161 views

I installed OpenSSH, but the SSH server sshd doesn't start automatically on boot. I can start sshd manually without any issues. sudo /usr/bin/sshd Starts; [john2@archlinux2 work]$ sudo systemctl ...
asker152's user avatar
  • 117
0 votes
0 answers
41 views

I have a remote machine that I must access through a proxy, and so I have set up the remote's ssh alias like so: Host server HostName server-ip User my-username ProxyCommand ssh my-proxy-...
Brian's user avatar
  • 101
2 votes
1 answer
113 views

Today I connected to a long-running process in tmux over ssh for work, to find that the pane the process was running in seems to have started using the wrong character encoding for its output, leading ...
Patronics's user avatar
  • 125
10 votes
7 answers
1k views

I am writing a script that locates a special type of file on my system and I want to check if those files are also present on a remote machine. So to test a single file I use: ssh -T user@host [[ -f /...
Nunkuat's user avatar
  • 203
6 votes
3 answers
1k views

I manage a Debian (Bookworm) host. The sshd config is set to disallow login as root. I've tested that one cannot login as root, as expected. However, I see hundreds of login attempts daily as root in /...
Gojira's user avatar
  • 195
2 votes
1 answer
207 views

I want to allow moving files to a specific directory on my server using rsync + ssh. However, I don't want to fully trust the users using that SSH user. One solution I found is to set the shell of the ...
GNA's user avatar
  • 131
0 votes
1 answer
256 views

I am getting a Permission denied error when using the Remote SSH plugin in VSCode to install VSCode server. Below is the version information: Version: 1.102.1 (Universal) Commit: ...
Burvil's user avatar
  • 43
2 votes
1 answer
101 views

I am trying to restrict SSH for a user to a specific host: I would like userA to be able to SSH to any host, allowing only pubkey authentication, and only if the connection comes from 192.168.1.17. I'...
Kevin Huntly's user avatar
0 votes
0 answers
64 views

I'm trying to ssh to a remote server. But after the ssh is successful the connection freezes within 2-3 minutes and eventually drops. On checking packet trace i observed my mac is randomly sending a ...
Abhinav Goyal's user avatar
0 votes
0 answers
60 views

So, I did a certification lab lately and after I logged in my ssh, I cannot use a command longer than X line (4 in F server lab and 29 in C server lab. My host kali machine is working and I've tried ...
hanysfa's user avatar
  • 103
0 votes
0 answers
104 views

I have a server that runs multiple docker containers. I can access my server via SSH, and have set up my ssh_config to allow me to ssh into certain containers that I regularly access: Host ...
Gunnar Knutson's user avatar
1 vote
0 answers
113 views

I am using CentOS 10, and I am trying to send the SSH logs to an external syslog server listening on port UDP 514. I changed the default logging facility of sshd to local2 and tested it locally and it ...
Juan Alejandro's user avatar
2 votes
1 answer
141 views

I have a computer server and a laptop guest, both running Ubuntu. I set SSH multiplexing and control master in the laptop's .ssh/config like the following: Host servername User username Port 22 ...
hannah's user avatar
  • 21
3 votes
2 answers
361 views

Is there any way to remote control GRUB? I am interested in not having to walk to the machine when it reboots. As such, I am only interested in non-virtualized solutions. In particular, I want remote ...
David G.'s user avatar
  • 3,631
2 votes
0 answers
126 views

Preface I am unable to write to my client user connected over SSH. No issues with users on server. I run as root, and SELinux is disabled for all the tests below(sudo setenforce 0). Yet, I always get ...
Vesta Tian's user avatar
2 votes
1 answer
229 views

We are in a process of Disabling local accounts SSH completely in our environment for all linux servers, We are able to disable this in combination of DSC & Azure policy which all working fine. ...
Dev Reddy's user avatar
0 votes
1 answer
124 views

I am: Running a program on a Ubuntu 20.04 AWS instance Using SSH & X11 forwarding in PuTTY, with the VcXsrv X-server, to run program GUIs on my local Windows 11 machine The GUIs of test programs ...
sumsamson's user avatar
0 votes
1 answer
1k views

I'm trying to connect to a RHEL9 VM using ssh. When attempting, it gives the error: Connection closed by xxx.xxx.xxx.xxx port 22 I checked the /var/logs/secure log and found the following error ...
Will Burnside's user avatar
0 votes
1 answer
101 views

I have a server that a few people log in to but I realized that when checking with last and lastlog that it doesn't list ssh done with VSCode but it works for people who use the terminal. How can I ...
greenbug's user avatar
0 votes
1 answer
105 views

I unmounted my 2TB Samsung SSD, before I went on holiday (meaning to bring it with me but I forgot). I have remote SSH access but I can't find a way that will work for an up-to-date kernel (OpenSuse ...
Greg's user avatar
  • 123
0 votes
0 answers
29 views

I tried to install HAProxy 2.6.12 in TCP mode to do load balancing (round robin) between 2 NoMachine 8.16.1 ECS (Enterprise Cloud Server) accepting NX protocol (SSH-like). NoMachine is a remote ...
Steph_P92's user avatar
0 votes
1 answer
232 views

I have an Alma Linux 9 server machine with SSH root access through a custom port. The access is fine but should be with SSH Keys. We have keys, but we need to give the Public Key to the AlmaLinux ...
Mm-Art-In's user avatar
  • 143
0 votes
0 answers
63 views

I am moving a large number of files from one PC to another. The two PCs are in 192.168.0.0/24. I started by ryncing all music I had on my source PC to my new PC. > rsync -P --recursive 192.168.0....
Hyunbin Yoo's user avatar
0 votes
1 answer
125 views

Info I have 2 remote machines, both are Linux and same OS version. When I tried to SSH to the machine as one of the user inside via public key, machineA works but machineB get stucked after offerring ...
Ronald Koh's user avatar
2 votes
2 answers
486 views

I need help in determining why I get syntax error near unexpected token `then' from the following command: for vm in {20..30} ; do ssh -q -o "StrictHostKeyChecking no" 192.168.210.${vm} &...
Bjoern's user avatar
  • 59

1
2 3 4 5
165