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
1answer
8 views

shell how to inhibit ssh yes or no input for Are you sure you want to continue connecting

In a shell script, it ssh to a server cluster, which includes dozens of servers. But some new servers do not run commands properly. I believe it is ssh yes or no problem. So I would like to have ssh ...
0
votes
0answers
6 views

Turning off lxpanel on raspberry pi says “Can't connect to display”

My raspberry is used with ssh only (i have no display connected). It seems that lxpanel is on: $ top 818 pi 20 0 105808 39460 20916 S 0.3 8.9 140:44.99 lxpanel I tried to turn it off ...
0
votes
0answers
22 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
32 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
62 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
32 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 ...

15 30 50 per page