Questions tagged [ssh]

Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

SSH is a network protocol that allows two networked devices to exchange data on a secure channel. SSH was designed as a replacement for the insecure and protocols that send data (including authentication) as plain text.

SSH is most commonly used in Unix-derived systems such as OS X and Linux, mostly already pre-installed. On Microsoft Windows, an SSH client such as PuTTY can be used.

Related tags:

  • , one of the most popular implementations of SSH used today
  • , the SSH daemon which responds to incoming requests
  • , which provides a secure way of storing the passphrase of the private key

Important questions:

Related links:

10440 questions
4
votes
2 answers

Reattaching self to screen - Linux/Ubuntu

I occasionally use screen within linux. Every now and then my connection plays up and I lose access to the ssh shell, when I try to reattach myself to the screen instance this is what I get: There is a screen on: 2690.pts-0.localhost …
RadiantHex
  • 479
  • 4
  • 8
  • 18
4
votes
5 answers

How to use graphical line drawing characters with Midnight Commander on OS X under ssh?

I discovered that when I do ssh to a machine using OS X 10.6 and use mc I do not see the graphical line drawing characters. This does not happen if I open terminal and start mc. I'm connecting using putty configured to use xterm-color, configuraton…
sorin
  • 11,660
  • 20
  • 63
  • 73
4
votes
1 answer

How to start up my computer (wake on LAN) from command line?

I would like to SSH to my home computer (Mac Snow Leopard) but I don't always know if it's on. I have enabled wake on LAN. Is there a way to wake my computer (or check if it's awake) from the command line?
Andrew
  • 14,554
  • 30
  • 70
  • 82
4
votes
2 answers

rsync errors with "stale file handle" or "error in file IO" sporadically when copying from server to HPC

I'm working on a server via SSH and need to copy a directory from the server to an HPC with rsync: rsync -a -q "sourcedir" "username@hpc:~/destdir/" In this example, sourcedir is on the server and contains a sub-directory which contains a small…
Eric Scott
  • 41
  • 5
4
votes
3 answers

Can I use ssh host key verification with a round-robin DNS?

I'm logging into a server based on a round-robin DNS hostname -- "login.example.com" could go to any of a number of servers. Ideally, I'd like to be able to update my known_hosts file such that reaching any of the machines is possible without a…
Coderer
  • 1,578
  • 5
  • 19
  • 31
4
votes
1 answer

What user's rights are used when a client gets a file from an SFTP server?

When a client connects to an SFTP server to get a file, is the file normally read from the host system using the rights granted to the account running the SFTP client or using the rights granted to the account running the SFTP server? If it's the…
Pat Fahy
  • 41
  • 1
4
votes
3 answers

PGAdmin4 with SSH port forwarding using identity file asks for file password

I am using PGAdmin 4, the application, on Ubuntu 20.04.1 (Zorin 16). I am using an SSH tunnel and an identity file. This works. However every time I connect, I am prompted for a password for the identity file. The file is not password protected,…
mckenzm
  • 899
  • 4
  • 14
4
votes
3 answers

PowerShell ssh wont stop asking for the password to the key I installed

I'm still being asked for my key password on login from a PowerShell session (Windows 10). These it turned out are the wrong param: ssh -o StrictHostKeyChecking=no or ssh -o "StrictHostKeyChecking=no" I swear I had a perfect ignore parameter that…
bluesquare
  • 357
  • 1
  • 7
  • 18
4
votes
0 answers

Accessing Docker's volume using WinSCP

I have 2 Ubuntu 20.04.1 machines with Docker installed. I would like to access the content of Docker volumes using WinSCP. i.e. access the path /var/lib/docker/volumes/my_vol_name/_data which is fully accessible using CLI and use of sudo. But using…
Qua285
  • 41
  • 2
4
votes
3 answers

Remote disk usage analyzer over SSH from OS X?

On Ubuntu, I enjoyed the disk usage analyzer "Baobab" to drill down into my file system and see what was taking up so much space. One invaluable feature was to connect to a remote system over SSH and display the nice pie charts of that system. Now…
James Marble
  • 141
  • 5
4
votes
1 answer

"Server refused our key" Only from MobaXterm bookmark setup

Have a very strange problem, cannot figure it out on my own. Archlinux server with openssh 8.8p1-1 I'm not using password for authentication, only SSH-RSA keys. Public key is stored on server inside /home/stiw47/.ssh/authorized_keys .ssh directory…
stiw47
  • 43
  • 1
  • 4
4
votes
3 answers

`systemctl --user` results in "Failed to connect to bus" in google compute instance

I'm connected to a google compute instance via ssh with Debian 9. When I try any systemctl --user ... command (systemctl --user status for instance) I get an error: "Failed to connect to bus: No such file or directory". I have tried setting…
Snoober
  • 71
  • 1
  • 5
4
votes
1 answer

WSL Ubuntu ~/ssh/config symlinked to c:\users\USER\.ssh\config permissions error

Reposting from StackOverflow on another users request I'm trying to use a symlink to simplify my SSH config management. My reasoning is that I use CMD for SSH when at home and WSL Ubuntu when in the office. I prefer to use WSL but due to using a…
Alistair Hardy
  • 257
  • 1
  • 3
  • 8
4
votes
3 answers

Connect 2 computers without wifi/router

I'm trying to set up a raspberry pi without having a screen nor direct access to the router, Is there a way to connect these 2 computers? (without buying switch or router). Afterwards, by accessing through ssh, Wi-fi could be enabled. I've read an…
Minsky
  • 256
  • 1
  • 12
4
votes
1 answer

FileZilla: connect from macOS via gateway to target

The OS of my local computer is MacOS (Catalina) and I want to transfer files to and from a remote server using FileZilla. I have to connect to a computer which sits in a protected subnet, so it's only reachable via a gateway. I can establish a…
Hubert Schölnast
  • 203
  • 1
  • 2
  • 13
1 2 3
99
100