The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0answers
13 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
22 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
30 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
15 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
11 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
19 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 ...
-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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
13 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
31 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 ...
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
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 ...
1
vote
0answers
38 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
2answers
13 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
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
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
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 ...
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 ...
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
75 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 ...
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
15 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 ...
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-...
1
vote
0answers
43 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, ...
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 ...
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 ...
0
votes
0answers
12 views

SSH tunneling error between remote hosts

I'm trying basic thing to do but I get error "Connection refused.". I don't where to go now. Where did I do a mistake? Depicted example: I have main Server master(My current PC) and want to do ...
0
votes
1answer
27 views

Running ssh client as root always uses /root/.ssh instead of ~/.ssh

I am logged into a Linux (Debian stretch) server as root. When I run the ssh client as root it appears that the ssh client insists on using /root/.ssh/ as the location of all the ssh configuration and ...
0
votes
0answers
22 views

How do I set up tunneling in MobaXterm similar to my current PuTTY setup?

Here's what I do with PuTTY: PuTTY settings, Connection > SSH > Tunnels: source = 8000 destination = 0.0.0.0:8000 And then after I ssh into ServerA (a unix jump server in this instance), I use ...
0
votes
1answer
15 views

wget file gets neol converted text how to get correct file

This is a file I need to get for an assignment pg100.txt available on https://www.gutenberg.org/cache/epub/100/pg100.txt I login to an Linux machine ssh user@machine wget https://www.gutenberg.org/...
-1
votes
0answers
28 views

Very long upload time to server via SFTP using Appveyor

I am using Appveyor to build and upload my application to my server. Some time ago the deployment time increased significantly by 10+ times. Appveyor is using a build worker Windows Server which I ...
0
votes
1answer
67 views

How can I open multiple terminals tabs from one remote SSH such that they are visible as overlay tab in one terminal tab?

Similar questions have been asked by other users here (0 answers) and here. Both of then suggest to use screen. But I am looking for something different. I am looking for something to install on my ...
0
votes
1answer
71 views

Run shell script on remote machine with SSH using local environment variable

I currently compute some environment variable on my local machine $FOO. Now, I have an SSH script which consists of a few commands, some of which use the environment variable $FOO, which is only set ...
1
vote
1answer
29 views

SSH - Remote into Server behind JumpBox

I'm trying to work out if you can do this. I'm wanting to SSH into the end machine (server). I want to be able to authenticate into the jump box station from the management terminal with key ...
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
1answer
27 views

how to transfer files stably in linux

I am trying to transfer large data from windows to linux by using SCP. scp GEOS* username@ip:/path/to/destination It works. But it is pretty slow and the connection would be reset two hours later. ...
0
votes
0answers
13 views

SSH key password only asked for once

I have created a public/private key pair and logged into my server with it. I have also copied it to the server under a user. It asked me for the password when logging in the first time but it doesn't ...
0
votes
1answer
13 views

Git connection timeout and attempt

in a script I need to call git archive, that in turn calls ssh: git archive master --remote=user@gitserver.url.org:path/repo.git file \_ /usr/bin/ssh user@gitserver.url.org git-upload-archive 'path/...
0
votes
0answers
20 views

ssh to server with access to Internet over USB-Tethering

I have a desktop pc with ubuntu 18.04. It doesn't have a WiFi module and I also don't have a WiFi-USB-Dongle. So I used USB-Tethering over my smartphone to provide access to the Internet and it works ...
0
votes
0answers
30 views

How to send keyboard input over SSH to a TTY session?

Today I was playing around with SSH. I have a Raspberry Pi running Raspbian connected to the network, and a laptop running Arch on the same network. The Rasp is connected to a display, and has a mouse ...
1
vote
0answers
37 views

SSH Access denied to Ubuntu 18.04 LTS but only on Windows

I'm having an issue where I can't log into the Ubuntu 18.04 LTS server machine through Windows (I can connect on my laptop which runs Linux Mint and on my phone running Android 9). Here's what ...
0
votes
0answers
16 views

How to overcome from `ssh: connect to host ssh.dev.azure.com port 22: Connection timed out` with VPN

I am trying to access my office repo from home, i am getting an error as: ssh: connect to host ssh.dev.azure.com port 22: Connection timed out fatal: Could not read from remote repository. In office,...
0
votes
2answers
45 views

Zip file corrupted after SSH file transfer

I'm trying to zip up some files on my Windows laptop, then transfer them to my Ubuntu server, and unzip them there, but I always get an error while unzipping the archive telling me that the archive is ...
0
votes
0answers
21 views

When using an SSH jumpbox, is it possible to defer to the jumpbox for authentication?

I am connecting to a private SSH server by way of a jumpbox. Unfortunately, this requires me to put my public key on all of the private servers since the authentication is still resolved from my local ...
1
vote
0answers
60 views

disappearing .ssh directory on Mac OS X

I am experiencing a very strange problem with my desktop iMac running Mac OS X Mojave 10.14.6. Every night, after midnight sometime: the Remote Login item in the Sharing control panel gets unchecked ...
0
votes
0answers
18 views

Moving windows / disable monitor over SSH

My goal is to move windows on a remote system and to disable a specific monitor. The idea was to use MultiMonitorTool (NIRsoft) as a way to interact with the monitors over SSH. However this tool does ...