Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [ssh]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

How to avoid neccessity to re-enter password during schell script execution

I am working on a shell script performing recurring tasks of git commit git push mvn release:prepare mvn release:perform in a couple of paths of a JAVA software project. Now each of these commands ...
0
votes
0answers
15 views

How to ssh raspberry pi from the outside of the local network

I have a little problem with my ssh, I’m trying to ssh my raspberry pi from the outside of the network with the public Ip. Things I done : - Forward the port 22(TCP) on the router - Change some ...
1
vote
1answer
3k views

Jenkins Publish over FTP sending the entire site instead of updated files

I have a Jenkins server installed on my local server. I have managed to build artifacts from svn repository and deploy to a remote server using 'Publish over SSH' and 'Publish over FTP' but my problem ...
2
votes
2answers
475 views

Synology DSM 6.2.x: How to SSH as non-admin user

Since DSM 6.2.2 we have troubles connecting to a Synology NAS as non-admin user via ssh. Before this was possible by simply changing the login shell in /etc/passwd from /sbin/nologin to /bin/sh. This ...
0
votes
0answers
16 views

Jump to target host with bastion SSH key on Bastion/Jump host

I'm working on a way to decentralise our SSH keys. The goal is to give each developer/admin/system manager a single SSH key. This SSH key is added to the authorized_keys file on the bastion server. ...
0
votes
0answers
25 views

Could I mask my IP to be like my mobile data IP?

I don't have static IP, people at home don't have static IPs, in my country.The ISP at work gave my company static IPs for the office, and in order to protect itself against DDOS, he went to mobile ...
0
votes
2answers
34 views

Run interactive shell within nested ssh connection in script

Suppose I want to connect to machine B via machine A. As I learned, there are multiple ways to achieve this, for example ssh -T -J user@machineA user@machineB << END_OF_SSH_CONNECTION # Some ...
0
votes
1answer
22 views

Restore removed files that are on a remote server. Create a restorable image from mounted via sshfs folder

I have a remote server that I can connect to via ssh, I need to restore files from there to my computer (preferably with folder structure or just filenames), ext4magic says that I cant restore it ...
0
votes
1answer
17 views

GCP Instance refuses key

I recently created a VM instance on the Google Cloud Platform and attempted to connect to it using WinSCP via the following steps: Created a ssh key pair using puttygen with [my_username]@gmail.com ...
0
votes
0answers
14 views

Unprotected Private Key File

I have an Amazon EC2 instance that I have been using to learn networking concepts on, today I tried to connect via SSH and was prompted with the following error. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
-1
votes
1answer
20 views

Can't connect using ssh to Kali Linux

Sorry for my English... I to try to connect my Debian Computer to Kali Linux Computer with SSH, without success ... can connect my Kali Linux to Debian Computer, but not the opposite... I to build ...
12
votes
5answers
16k views

Ubuntu on Windows 10 - SSH “Permissions xxxx for private key are too open

I have .pem file located on local disk C "c/private-key.pem" And I have a soft link to it on Ubuntu subsystem "~/.ssh/private-key.pem -> /mnt/c/private-key.pem" And when I'm trying to shh some remote ...
-1
votes
0answers
19 views

Outgoing ssh connections don't work on airplane WiFi

I'm not able to connect to my SSH server from Jetblue in-flight WiFi. Could their router somehow be blocking this? I am not trying to circumvent any security policy, just trying to understand if ...
1
vote
1answer
4k views

SSH Multiple Session -> “stdin: is not a tty”

I have a Linux-VPS, using it as GIT- and HTTP-Server. HTTP: Apache Git-server: git-http-backend via vhost When I log me in via SSH, everything is fine. But if I open a second SSH-Connection, I get ...
7
votes
1answer
3k views

VPS compromised? Configured wrong?

I've been renting a VPS for half a year now (educational purposes) and I've been trying to learn as much as possible about keeping it secure. Recently, it was compromised and I suspect that it has ...
0
votes
1answer
38 views

Can't get into Virtual machine with putty

There are a lot of threads on this...I've been reading them. Here's what I've got, maybe someone can help. I'm trying to build an OpenWRT image and struggling. I've got a virtualbox machine running ...
-2
votes
0answers
21 views

What are SSH keys [on hold]

I have been reading about SSH key based authentication listed in this article https://wiki.archlinux.org/index.php/SSH_keys i have gotten to public/private keys and i am confused about what they are ...
5
votes
3answers
26k views

ssh: Error loading key “./id_rsa”: invalid format

For some reason one of my ssh keys "just broke" - it just stopped working: $ ssh-add ./id_rsa Error loading key "./id_rsa": invalid format Copying the key inside a clean VM, the key does work. Even ...
22
votes
3answers
10k views

What's the difference between Host and HostName in SSH Config?

The man page says this: Host Host Restricts the following declarations (up to the next Host keyword) to be only for those hosts that match one of the patterns given after the keyword. If more ...
0
votes
2answers
14 views

SSH - Key based authentication fails after password prompt

I'm running into SSH errors when connecting to a server as a particular user when using key based authentication with an associated password on the key. This is on an IBM i system. I've added the ...
0
votes
0answers
14 views

Github - SSH permisson for operations

Good morning, magicians, I have just booted my machine to windows due to gaming issues (unnecessary information), and require github for programming work. I followed the standard procedure for ...
0
votes
0answers
36 views

Bash shows my private key id_rsa to be present, even when it is not there (Opp also true). How so?

Connected successfully (over ssh) from Bash on Win10 PC to DigitalOcean ubuntu droplet. I was assuming that I've my private key present at ~/.ssh/id_rsa (in Win10 bash system this path translates to C:...
0
votes
0answers
34 views

Cannot connect to sftp server by public IP

I'm trying to configure SFTP server on my laptop with freeSSHd and freeFTPd. I have no problem to connect by private IP address (tested with WinSCP). The problem comes when I'm trying to connect by ...
1
vote
0answers
39 views

How to split large (vmdk) files on an ESXi 6.0 host?

I've got a server running ESXi 6.0 in a data center and I need to do some backup of it. Currently it has three quite large disk images (1TB, 500GB, 500GB) and I need to download those. The only ...
0
votes
0answers
9 views

Route only the terminal's connection via Cisco Anyconnect

Instead of having the entire system's network connection be routed via the Cisco Anyconnect's VPN (CAV). Is it possible to only route a terminal, similar to how ssh works? I'm able to use the command ...
0
votes
1answer
11 views

Trouble accessing docker interactive mode image (Docker noob)

I need help with accessing interactive mode of Docker image thanks to lack of knowledge in needed area. I want open file , and read from file, and use image filesystem (traversal and search). I ...
0
votes
0answers
14 views

port forwarding in docker container in AWS EC2 linux machine

I'm a newbie and needing help. Currently playing with the following setup: remote machine an AWS EC2 instance with Ubuntu 18. I am trying to access Jupyter notebook running in Docker container in ...
0
votes
2answers
13 views

SSH through intermediate host using control socket

I want to SSH to a machine C from machine A through B. Usually I would do: A$ ssh user@B B$ ssh user@C I have to type passwords both times (no public key allowed). I would like to set up a control ...
106
votes
2answers
109k views

Where does Putty store known_hosts information on Windows?

How do I tell if Putty already knows about and has cached credentials for specific ssh servers? Another way to ask this question is what is the Windows/Putty equivalent of a unix/ssh known_hosts file?...
0
votes
0answers
7 views

how to scp files from multiple source hosts onto the same target when user only exists remote

I want to scp files from multiple source hosts onto the same target. The scp user only exists at target. I want to generate the key pair on target then distribute the private key to all connecting ...
0
votes
0answers
8 views

ssh stops working on CentOS 8 (GCE VM)

ssh stops working on CentOS 8 (GCE VM) I had ssh working correctly with a pub/private key pair working just fine for two days on a GCE CentOS 8 VM, and it stopped working. Now I get: Permission ...
4
votes
4answers
7k views

How to detach ssh session without killing a running process?

I started a test filesystem resize on a server through ssh, but totally forgot to do that on a screen session. Now it is running, and my laptop has very slow internet. Is there any way that I can keep ...
0
votes
0answers
12 views

SSH key on network drive

I would like some security/cygwin advice concerning SSH keys. It would be nice to not have a passphrase on some keys which are frequently used to access git repositories. However, in my work ...
-1
votes
0answers
78 views

How to network two remote Linux servers

I have two linux servers which are both in remote locations (not LAN). Currently one server holds all my website files, MySQL database, and all files uploaded to my website by my visitors. To ...
0
votes
1answer
50 views

SSH asks password even so key has been added

I generated a ssh key for "ansible" user and it works all clients but one has SuSE (SLES) 11.4 OS. Host side ~/.ssh directory content: -rw-------. 1 ansible ansible 1675 May 14 2018 id_rsa -rw-r-...
0
votes
1answer
323 views

How do I enable SSH on Termux for accessing Android Host?

I'm just experimenting with compilers in termux for compiling kernels using Ubuntu aarch64 environment, In my experience there is no need for a cross compiler and I felt that having 8 cores (I'm on a ...
1
vote
0answers
22 views

Catalina and VM Ware SSH broken Pipe

I upgraded to Catalina yesterday and now all of my SSH connections to VM Fusion (cent os) images get a broken pipe after about 5 seconds. I've tried setting Host *\ServerAliveInterval 120 within ...
0
votes
0answers
16 views

ssh “ssh_exchange_identification: read: Connection reset by peer” error

I want to make ssh connection to an Ubuntu 16.04 server from Windows 2012. telnet 22 can be connected and ssh uses port 22. There is no alternative port number in sshd_conf file in destination host. ...
0
votes
2answers
86 views

Why is my ssh login dropped immedeately after login?

I am trying to connect from a MacBook Air (MacOS 10.14.6) via ssh (password-less) to an ubuntu machine (16.04.6), using a command like ssh aaa.bbb.ccc.ddd It always worked fine, I got a prompt and ...
1
vote
2answers
3k views

Running commands remotely through an RDP connection

This question is a follow up of this one. I am trying to run a command through the command line on a remote machine running Windows 7 from a workstation running Debian in an SSH session on that ...
1
vote
1answer
3k views

Can't connect to remote machine via SSH - error: Permission denied (publickey,keyboard-interactive)

I've been trying to connect to the remote machine with the new second admin account but password was rejected. I'm very certain that I have typed the right password for the second admin account. After ...
72
votes
1answer
23k views

How do I extract fingerprints from .ssh/known_hosts?

My laptop has a well-populated ~/.ssh/known_hosts file. I'd like to leverage that when connecting to remote hosts from my desktop, since tracking down the fingerprints can be a real chore. However, I ...
0
votes
1answer
113 views

SSH connection to an remote server from home PC

I am new to ssh and have been racking my brains for several days over connecting a home computer to an remote computer. I found out that I can't connect, as they are on different networks. I am sure ...
1
vote
0answers
44 views

Connect Linux to Windows via ssh

Problem Im trying to connect my Linux(Manjaro) laptop to my computer on windows 10 for jupyter notebook. Main gude for me is microsoft official for win10 But I allways stop at problem OpenSSH_8.0p1, ...
2
votes
2answers
907 views

Windows 10 SSH client: password-less access

I'd like to purely use the SSH client built-in to Windows 10 - no plink, no putty. I easily can login to my server using $ ssh user@server but it always asks me for my password. When using a ...
0
votes
2answers
66 views

How to get the index of each pane in a window with synchronized panes?

Suppose the following scenario. I have machines named host1 through host4 to which I want to connect in one pane each. I have split my Tmux window evenly into four panes so each of them can host an ...
0
votes
1answer
3k views

ssh connection error “Permission denied (publickey)”

So I have been trying to build ssh connections between google cluster container containing 1 master node and 2 worker nodes. I have used ssh-keygen to generate key pairs for all three nodes, send the ...
0
votes
1answer
23 views

Unable to ssh from the Docker host to a container

I would like to ssh into a running docker container. sshd is running inside the docker container. Also the host/container connectivity is showing some healthiness given I am able to run GUI apps and ...
4
votes
2answers
775 views

Router eavesdropping on SSH tunnel?

So I'm on a public WiFi network that blocks websites like YouTube in order to conserve bandwidth. I'm assuming the router is monitoring all traffic and rejecting all requests sent to the sites on its ...
0
votes
0answers
19 views

SCP hangs after “Sending command: scp -v -t /tmp/” but SSH works

I have a remote raspberry pi that I'm able to SSH into just fine from Windows (from the Windows linux subsystem), but I can't copy files to it with SCP. When trying to copy a file to /tmp on the ...