Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssh]

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

0
votes
0answers
12 views

ssh does not quit even after remote host reboots

I am using a command of the form: dd if=/my/block/device | ssh myuser@otherserver "gzip > file.gz" in my script. The block device being copied is very large (17GB). In many cases, I see that even if ...
0
votes
2answers
21 views

How to check for exit code of the ssh tunnel?

I have a command of the form: dd if=/my/block/device | ssh myuser@otherserver "gzip > file.gz" How to check if the ssh command failed due to connectivity problems? Thanks.
0
votes
0answers
11 views

SSH can not keyboard-interactive

Recently I am trying to play with the PAM modules, but I got myself in a pickle where I do not know how to use/enable keyboard-interactive on my sshd. lucian@local:~$ ssh luciannitescu@45.77.137.163 ...
0
votes
1answer
16 views

SSH config file - Multipule users for the same host group

Currently I have the following ssh config file: Host 172.30.* ControlMaster auto ControlPath ~/.ssh/cm_socket/%r@%h:%p ServerAliveInterval 60 TCPKeepAlive yes ProxyCommand ...
0
votes
0answers
30 views

SSH - Connect to Raspberry PI from external network not working

I've setup my RaspberryPi with the newest version of RaspbianOS and enabled SSH in the configuration. Accessing the Pi using Putty from within my home network works fine, but as soon as I try to do ...
0
votes
2answers
54 views

ssh to Ubuntu 18.04 connection timed out

I'm trying to SSH to Ubuntu server I have in another city. The IP address for that server is something like 129.123.x.xxx. I use windows and cmder to connect to Ubuntu. When I use my campus vpn which ...
0
votes
1answer
20 views

How do I do an HTTP POST to a server living in an Amazon ec2 instance over ssh?

I have a server listening on http://0.0.0.0:8000, however this is living in an Amazon instance. How can I make an HTTP POST request from an external computer (using curl)? That is, I would like to ...
0
votes
0answers
11 views

Npm serve from vagrant machineand windows host

I am trying to serve from a vagrant machine which is bridged an I would like to access the webpage from every device connected to that public network (experimental purposes). I access the machine with ...
-2
votes
0answers
29 views

SSH'ing into DigitalOcean server via Windows 10 [on hold]

Can someone please answer a step-by-step guide regarding how to fix SSH'ing into Digital Ocean while on a Windows 10 machine. I'm doing something very wrong because it never works for me. My ...
0
votes
1answer
31 views

Saved SSH connections in Windows 10 PowerShell

I am trying to set up SSH connections in PowerShell to replace PuTTY. I am able to open PowerShell and connect using the command ssh mrpeanut@myserver.com -i .ssh\mrpeanut. However, I was hoping to ...
0
votes
0answers
16 views

Fast navigation in Midnight Commander Shell link mode

Is it possible to achieve the same behavior as on the local machine with Ctrl+O allowing navigating directly in shell, when connected to SSH server (Left / Right -> Shell link...)? Or is there any ...
0
votes
2answers
42 views

Error when ssh to remote server when using sudo user

Trying to do ssh to remote machine over sudo user and getting error but doing ssh thru my normal user getting connection error. Here is the detail process. case_1 - ssh by Normal User - Working fine ...
0
votes
0answers
24 views

SSH to ubuntu server from the internet through 2 routers

I need to access my ubuntu server remotely, by ssh. The problem is i can't figure out what i'm doing wrong. I have a ssh key set up, it works on the local network, i have allowed AllowTcpForwarding ...
0
votes
1answer
32 views

Tmux in bash script executing too fast

I am trying to write a bash script that performs the following actions: open 8 tmux terminals each of the terminals connects in ssh to a remote server start a script X on 3 server, and when it's done ...
0
votes
1answer
36 views

adding path to centos 7 using ssh

I am migrating from ubuntu to centos and am in the process of setting up the centos server'. I am trying to add an executable to path and having difficulty. Issh` into the server as root build and ...
-1
votes
2answers
25 views

Transferring files from Ubuntu via inner server (ssh-> ssh) with FileZilla

Currently, I can access a server called opt2 with two ssh (I can't access this server directly). It goes like this in terminal. Each ssh has me enter a different password: ssh username@athena.ecs....
0
votes
0answers
18 views

Keep SSH remote processes running when turning off computer [duplicate]

I am using Putty on Windows-10. I can't seem to find the answer to this question: How can I turn off my local computer and keep my processes running on the remote server, and reconnect to that same ...
-1
votes
1answer
27 views

scp ask to provide passphrase for key without one

I do the following command sudo chmod 400 /home/ec2-user/key sudo scp -o StrictHostKeyChecking=no -o NoHostAuthenticationForLocalhost=yes -o UserKnownHostsFile=/dev/null -i key ec2-user@${...
0
votes
0answers
7 views

x11 forwarding from VM hosted in a server

My setup is a little complex: I have my local machine(windows), from which I access my institutions server over SSH. From there, I can access my personal server(Ubuntu 16) over ssh. This personal ...
0
votes
0answers
26 views

configure SFTP server with 2 nics

Centos7, dual NIC setup (one IP on 192.x the other on 10.x) I drew a diagram to help me explain what i want to accomplish I want to enable SFTP from the outside and enable SSH from the inside to ...
0
votes
1answer
32 views

My router lets me log in to it via SSH - why? [closed]

I was playing around in my WiFi router's settings, and noticed an option for allowing SSH access. When I log in to it via SSH, I am greeted with a very limited machine. The only binary present seems ...
0
votes
1answer
21 views

Execution of a command locally after ssh tunneling and ssh connection staying in console

It's a continuation for question: Execution of a command locally after ssh tunneling". I have something like this: ssh -f -L 555:localhost:555 10.0.0.1 sleep 10 vncviewer However, in such case ssh ...
-1
votes
1answer
27 views

mount sftp through blocked port using proxy

I'll apologise in advance, because I'm 90% sure this question has been asked somewhere before, but I can't figure this out, decide what's better and I'm completely unfamiliar with all of this. My ...
1
vote
1answer
25 views

X forwarding the other way around cross platforms?

Ok, so we've had X forwarding for quite some time. And it's a nice feature where you want to have some remote applications running remotely and the ui drawn locally. And I noticed that it's possible ...
0
votes
1answer
36 views

“apt upgrade” over SSH: This frontend requires a controlling tty

When upgrading our linux servers, I issue a command like this from one of our management servers: ssh server1.mycompany.com apt upgrade Under certain circumstances, I get this output from the ...
1
vote
1answer
34 views

Bash script for SSH and echo [duplicate]

I want to have something like this: #!/bin/bash ssh 10.0.0.1 vncviewer However, I want "vncviewer" command to be launched at the same time, and so that it does not interrupt with SSH asking me for ...
1
vote
1answer
19 views

Plink does not work with commands file for git in sudo

I use plink.exe for automatisation of git commands and this works fine. But i need to use this with servers with login of sudo plink.exe -ssh argentium@186.118.154.164 -m commands.txt my commands....
0
votes
2answers
20 views

SSH tunnel between three machines A -> B-> C

I've got three machines. A - my machine, that has access to machine B via ssh but no access to machine C C - another machine that exposes RestAPI on http://machineCip:1234 B - yet another machine, ...
1
vote
1answer
33 views

Notepad++ NppFTP SSH Tunnel

I am currently stuck on whether it is possible to connect via SSH Tunnel on Notepad++ Extension NppFTP? I can connect via SFTP to the server directly however about to loose that connectivity and thus ...
1
vote
1answer
31 views

Why does my tar via ssh (command via authorized_keys) corrupt the archive?

From a backup-machine I want to pull tgz dumps of a production server. Both machines run ubuntu 16.04. Therefore, the backup-server connects via ssh and a specific ssh to to the production server. ...
0
votes
0answers
24 views

SSH Server refused public-key signature despite accepting key

I did the following on a Windows Server 2008 R2: Installed OpenSSH 0.0.24.0 by executing this command -> powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1 and generated the keys with ...
0
votes
1answer
27 views

Connecting to Windows Subsystem for Linux from an Ubuntu server using SSH but it says: Permission denied, please try again

I have installed Windows Subsystem for Linux (Ubuntu 18.04) on my system from the Windows store. After installation by default it asked to make a user. I made a user of "sark"; it is a root user. I'm ...
0
votes
1answer
18 views

Remmina pre and post VNC connection commands

There is little documentation on if this can be achieved. My workflow is thus: I connect to my remote machine via SSH, then if I need a GUI, launch TigerVNC server using /usr/bin/vncserver :4 -...
0
votes
0answers
56 views

How to connect from windows bash ssh to a synology docker and view a picture using python [closed]

I'm doing some work with python on a Synology ds218. To do it, I download a docker python image. I'm connecting to the container using windows bash ssh. The python script dynamically modifies images. ...
0
votes
0answers
13 views

Meteor Up Deployment to Rasp.Pi on LAN: mup.js @ln29

So I'm embarking on a project involving deploying a node.js app using Meteor v1.7.0.5 to a Raspberry Pi 3 B+ that is running Raspbian Stretch Lite on my LAN. The Pi is not currently attached to the ...
0
votes
0answers
22 views

How to set up a private network with nested routers to ssh intou from the outside

I have four Pi's connected to a router behind an ADSL modem (with a static ip), that connects to the internet. What settings should I use on my ADSL modem and router to successfully ssh from the ...
0
votes
1answer
30 views

ssh ProxyJump with Kerberos

There are two fine intermediary hosts between my workstation and where I need to end-up. I was attempting to use the ProxyJump configuration to make this connection, but it does not appear to work. ...
0
votes
1answer
32 views

Absolute or relative path to a connected LAN computer for code to save file automatically on the LAN Computer

I have a mac mini and an old mac that are connected via ethernet cable. From my mac mini, I can ssh into the old mac in the terminal using ssh username. I have a python code in my mac mini that ...
2
votes
1answer
58 views

Execution of a command locally after ssh tunneling

I have a script file ./run_app.sh which contains of the following: ssh -L 8888:localhost:8888 ubuntu@address ./run_website.sh # it should be executed locally but it tries to run the second line on ...
1
vote
1answer
112 views

Bad owner or permissions on ~./ssh/config after upgrade to Windows 1809

I'm using Windows 10 OpenSSH version. After update to Windows 1809 I've got C:\Windows\System32\OpenSSH\ssh.exe myhost Bad owner or permissions on C:\\Users\\XXX/.ssh/config But execution c:\...
0
votes
0answers
23 views

use Gstreamer vaapi via ssh

Good evening. I have this situation. I'm developing a video processing application on a Desktop pc with installed Ubuntu 18.04. For this application I'm using Gstreamer 1.14.1 and I want to use it's ...
0
votes
0answers
37 views

Red Hat Enterprise Linux Server release 7.5 : Unable to negotiate with ::1 port 8101: no matching cipher found. Their offer:

This is the error I am getting when I am trying to connect to Karaf wrapper 4.4.2. (ssh -p 8101 -l smx localhost). FYI: I don't want to update to a new version of Karaf or ServiceMix. Using Java 6. ...
0
votes
1answer
12 views

How to tunnel traffic from localhost:port1 to remotehost2:port3 through a middle host remotehost3 which can be accessed only through SSH?

I'd like to execute a tunnel on my localhost so all the traffic on a host ends up on a remotehost through a middle hop that can only accessed by ssh LOCALHOST ________ MIDDLEHOST_______________ ...
1
vote
0answers
17 views

CTRL-C only works sometimes over proxied connection

Problem: CTRL-C seems to work to kill a process running in the foreground sometimes but not always. It also NEVER works to clear the current BASH command (this is the part that really bugs me). This ...
0
votes
1answer
42 views

How to connect AWS ec2 Windows instance in Putty?

I have created a AWS Windows Ec2 instance, I can able to connect to the remote windows machine by using .rdb file, everything works fine. Now I need to connect a windows server by using putty. Let me ...
1
vote
1answer
25 views

Connect through ssh to a server which I can log in with a web login

There is a server or cluster of computers to which I have access via a web page. I log in with my username and password and then I have a terminal, the same way I would have if I connected through ssh....
0
votes
0answers
30 views

Windows Subsystem for Linux Ubuntu: ssh-agent running but ssh-add complains “Could not open a connection to your authentication agent”

I use WSL with Ubuntu on my laptop to develop on Linux while I'm away from my desktop (with native Linux, where I don't experience any problems like this). I have private git repo setup, and I use ssh ...
0
votes
0answers
12 views

Running scripts from bastion for data mining

I wasn't terribly sure how to phrase this. I apologize for the bad title. I have some scripts I run to pull data from a handful of public repositories at regular intervals. My current solution is to ...
44
votes
4answers
3k views

Cache the password if SSH-keys are forbidden

I have a server which I have to access frequently via ssh, because I compute on it. Now, the computing center explicitly forbids SSH-keys because they are "insecure". They feel that typing my password,...
0
votes
0answers
10 views

Not showing the prompt when some users log into SLES12 server whereas the same issue doesn't appear in SLES11

I got a strange situation where only 4 users in the team are facing the issue of the prompt not visible when they ssh to SLES12 server whereas the same issue doesn't appear when they ssh to SLES11. ...