Questions tagged [ssh]
Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.
10,857 questions
3
votes
1
answer
201
views
How to run shell commands via stdin?
I was working with a command like this:
ssh another_host <<EOF
set -x
command_a
command_b
run_framework
command_c
...
EOF
The odd thing was that only commands up to and including run_framework ...
1
vote
0
answers
38
views
Why is my website accessible from SSH server but not from SSH client through tunnel?
I'm facing a strange problem involving local port forwarding through a SSH tunnel.
My SSH server is connected to a network on which several web servers are running. The SSH server has access to these ...
-1
votes
2
answers
144
views
SSH/SFTP Security questions? [closed]
I'm trying to use sftp to transfer files between two pcs. I have openssh on my receiving pc.
I'm a total beginner in sftp/ssh and it is so wild/seems so unsecure that I can access my pc only with my ...
3
votes
3
answers
1k
views
How can I send data (not commands) over SSH? [closed]
Everyone knows that you could do telnet towel.blinkenlights.nl to watch Star Wars in your terminal. You can also connect to IRC using Telnet, because it's not confined to connecting to a shell.
On SSH,...
2
votes
1
answer
37
views
vscode no longer shows remote ssh hostname on bottom left of window
I have been using vscode for several years, doing remote-system devlopment. MacOS hosts the vscode program. Until today (and there has been no intentional upgrade done), the hostnames used to appear ...
1
vote
0
answers
110
views
Why is my reverse SSH tunnel very slow?
I created this systemd rule that sets up an automatic reverse tunnel for SSH on a remote server. I then connect to the server and then to the internal port, over SSH, to reach my device. I didn't want ...
2
votes
0
answers
48
views
SSH 'No route to host' only within tmux session
I began exploring tmux yesterday, and arrived at a very strange problem: From inside a tmux session, I can SSH into any server and my router – but not into a local server. Connecting from outside a ...
0
votes
1
answer
229
views
NVMe I/O failure causes sshd Could not open user authorized keys Input/output error on a long-running server
My workstation recently started rejecting my ssh connections. The following has happened three times now:
I use the workstation daily with no issues.
Suddenly I start getting "connection ...
0
votes
1
answer
29
views
How to only show the “Authenticated to” line only in the SSH debug info? [closed]
With ssh -v there is among a lot of debug info a line:
Authenticated to my.host ([0.0.0.0]:22) using "gssapi-with-mic".
Is there a way to have only this line shown, and not the other debug ...
2
votes
1
answer
54
views
How to pipe binary data from Linux to Windows over ssh?
I have binary data on Linux which I need to transfer to Windows to which I have an ssh access.
The data is stored in pass thus I would prefer not to first store it to a temporary file and then ...
3
votes
1
answer
491
views
SSH: investigation into a possible latency issue
Since I probably have a latency problem with my SSH connection, I am trying to investigate it using the traceroot tool. This is a local network and I am using a WiFi router.
I am using the SSH ...
1184
votes
25
answers
1.5m
views
How to tell git which private key to use?
ssh has the -i option to tell which private key file to use when authenticating:
-i identity_fileSelects a file from which
the identity (private key) for RSA or DSA authentication is read.
The ...
776
votes
16
answers
347k
views
Why does macOS keep asking for my SSH passphrase ever since I updated to macOS Sierra (10.12)?
It used to remember the passphrase, but now it's asking it to me each time.
I've read that I need to regenerate the public key with this command, which I did:
ssh-keygen -y -f id_rsa > id_rsa.pub
...
1
vote
0
answers
123
views
OpenSSH connection to Windows 11
I have a work PC with Windows 11, where I am logged in with a work account, and a Windows 11 work laptop. I would like to connect to the PC via OpenSSH to deploy some code for local testing.
So, I set ...
14
votes
4
answers
4k
views
How can I connect to a Linux machine without SSH and without Ethernet?
I have a Linux box and need to connect it to my laptop without using SSH because of network policies (VPN).
Is there a solution or a technology I can use ? I heard that a serial cable with a null ...