Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

2
votes
0answers
10 views

Putty error “Network error:Software caused connection abort”

I am trying to connect to host server using putty (for SSH). In putty I enter my server's IP and port as 22 and when click 'open' get this error of connection abort and putty becomes inactive. I tried ...
0
votes
2answers
19 views

ssh: connect to host port 22: Connection refused

I am trying to ssh into my new Raspberry Pi using MobaXterm but I keep getting the following error: ssh: connect to host ... port 22: Connection refused. Both the PC and Raspberry Pi have wired ...
0
votes
0answers
5 views

SSH block second level connection

I have 3 Linux environments, lets say L1, L2 and L3, I want to be able to SSH from L1 to L2 and from L2 to L3 but I want to block a user from second level connection i.e. The user who does an ssh ...
1
vote
0answers
13 views

Can't connect using ssh keys to dropbear

I have two pair of (same) embedded device that runs linux. I have setup the same ssh key on both. I can connect to one using that key but the 2nd machine still ask for password. Obviously I am doing ...
0
votes
0answers
23 views

Cannot access server via SSH in terminal

When I try logging in via ssh root@server.org I am asked for my password, however when I enter it, it doesn't work. I can access the server by a different user then run su root and the password works ...
0
votes
0answers
11 views

Git asks for password in cmd [duplicate]

I have tried to set up my ssh-keys on both the command prompt and git bash. What happens, is that everything works fine till I do a git <something>, and it asks for my password. Enter ...
0
votes
0answers
10 views

Certain ubuntu 14.04 images accept ssh on parallella board

The Parallella is a microcomputer that's basically a number accelerator. Although it seems like it may be a network error, but I know for a fact its a hardware issue. I had a working headless image ...
0
votes
0answers
12 views

How can I run ssh without required dash options to run in background and open a new terminal

Similar to this and this question I want to ssh as a different user to a different host and run an interactive command. At the same time the ssh connection should drop to the background. The added ...
-8
votes
1answer
30 views

Please give me one-line command that displays the first 20 characters of a user's ssh public key [on hold]

Write a one-line command that displays the first 20 characters of a user's ssh public key
-1
votes
0answers
12 views

trying to connect SFTP upload with to keep my files syncronized

I have an linux ubuntu 14.04 ec2 instance with default login parameters (user: ubuntu, password: ) I can access to ftp through SSH using my credentials without any problem, but when I want to connect ...
0
votes
0answers
4 views

dropbear dbclient + scp, equivalent to openssh “-oStrictHostKeyChecking”

Using dropbear's dbclient and scp implementation, is there a way to get the same behavior produced by openssh when using the scp option "-oStrictHostKeyChecking=no". In other words, can I make ...
0
votes
1answer
28 views

Run command when a specific ssh config connect fails

This is a bit of a long shot, but what would be the best way of getting ssh to, if a connection fails, run a command, and then retry to connect. To share my use case, I am ssh-ing over an ssh tunnel ...
0
votes
1answer
75 views

How to mount a remote filesystem using Windows 10?

Now, that windows 10 is out I started wondering about something. Unix based systems have the possibility to mount remote filesystems using ssh. In a recent article I've read that Windows 10 Has ...
0
votes
1answer
13 views

Cloning Ubuntu “clusters” with ssh access

I have a "cluster" with multiple Ubuntu (12.04) machines, all with the same accounts. From any machine, I need to ssh to any other machine. I set up ssh, generated keys, known_hosts file, and tested ...
0
votes
0answers
10 views

Meterpreter over SSH

I was reading a few tutorials about using plink.exeto create an ssh tunnelled meterpreter session. However this reverse connection seems to just bring me right back to my own host computer, unlike the ...
2
votes
1answer
10 views

How do I set up an ssh tunnel to get server data from a whitelisted IP to feed into a local build?

It's possible this has been answered and my n00biness is preventing me from understanding the answers... I'm working remote. I have a local build that I run on 127.0.0.1:8080. This build needs to get ...
0
votes
0answers
11 views

SSH tunneling to non-Apple machine using Back To My Mac

I have little home network with two Macs, Debian-based server and latest AirPort Extreme base station. Unfortunately my IPS uses PAT (double-NAT) and I have no public IP address. On my work machine I ...
1
vote
0answers
19 views

ssh command fails when run with ssh-dss as hostKeyAlgortihm

I am running two commands one after other. I run in the following sequence second command fails with error code 255 First Command: ssh -ladmin -oStrictHostKeyChecking=no \ ...
-1
votes
0answers
9 views

Is there a failsafe guide for “ssh -X” usage for both client and server?

I simply can't get SSH properly to run with my server config. Both machines are reachable within the identical NAT and around 15cm distance away, they can both be accessed via TCP/HTTP or other ...
1
vote
1answer
24 views

Why does ssh wait for all the launched processes to exit?

I am running a script from one machine on another machine using ssh. ssh <host> a.pl Now, a.pl starts several other instances of a.pl using the 'system' method and executing each of them in ...
0
votes
1answer
20 views

ssh proxy command with netcat

In example like this: Host destination ProxyCommand ssh gateway nc %h %p Is the connection between the gateway and the destination encrypted? I am confused because I have 2 hypotheses and both ...
0
votes
1answer
8 views

Git Bash not recognizing SSH config file parameters

I have a hosting plan from the folks at HostGator. They allow SSH connections on port 2222. I'm using "Git Bash" on Windows to connect to HostGator via SSH. Works fine with ssh -p 2222 <hostX>. ...
2
votes
3answers
35 views

Accidentally deleted all kernel files from /boot

I have a virtual machine (VM) running Ubuntu Server 14.04. I access the VM remotely using putty. Recently I came into a problem when /boot was 100% full. I came across numerous articles which ...
0
votes
1answer
31 views

SSH still prompting for password with authorized_keys

I'm trying to log into a server with a different user. The user's name on the server is gitquery. I used ssh-keygen to create these files locally: /opt/gitquery/gitquery-rsa ...
-1
votes
1answer
14 views

How do I change Synology DSM 5.0 http port via SSH?

I need to change port for HTTP from 5000 to 7777 on my Synology NAS via SSH. Is this possible?
1
vote
2answers
151 views

Strange “Last Login” ip SSH

I was told to post this here instaed of StackOverflow so here it goes: 2 weeks ago I accessed my server via SSH and noticed that PuTTY displayed an "Last Login" IP from India. Today I accessed the ...
0
votes
0answers
12 views

How would I SSH into a chromebook?

I want to poke around the chrome os filesystem in a more powerful terminal, and I'm not sure if the chromebook is set up to be a host for another machine to ssh into.
0
votes
0answers
11 views

How to connect to Ubuntu Server on Azure via password authentication

I've created an Ubuntu Server on Azure. I've specified password as a type of authentication and now I have an SSH url. I can't seem to be able to figure out the correct ssh client connection command ...
1
vote
2answers
166 views

SSH to a host with known but non-static (variable) IP

Is it possible to have ssh or .ssh/config use a dynamic IP address that is stored in a file? I have a remote machine with dynamic DNS that puts its current IP in a file in a shared dropbox. I'd ...
0
votes
0answers
7 views

ssh connection with only public key on ubuntu

I'm trying to connect on ssh with only public_key on my localhost session. But that's return: Permission denied (publickey). ssh -v user@127.0.0.1 OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar ...
0
votes
0answers
9 views

Why is my <HOME> key generating ~ characters in a remote sessions?

I get the feeling this is yet another problem due to the weirdness and vagaries of Linux keyboard mapping. Anyway locally my key works as expected inside a terminal based emacs however when I shell ...
0
votes
1answer
15 views

scp files between hosts using ssh local port forwarding

I have a problem about transferring files between hosts. Lab environment is like: My host <-> Host A <-> Host B I only have access to Host A and I want to transfer files to Host B. Host A has ...
2
votes
2answers
391 views

SSH from OSX with password 1 line

I can ssh from my pc using putty, 1 line like so ssh root@myname.mydomain.us -pw abc123 but when I try this from OSX terminal, I get an error Bad port 'w' How can make this work on OSX?
0
votes
0answers
16 views

SSH Tunnel Revisited (from phone)

I have a question, that I'm not sure has been addressed here. I need to get from host A -> B -> C. I am on A which can only get to C through B. Now this is easy enough by just ssh'ing into machine ...
0
votes
0answers
13 views

Is autossh relevant now that we have ServerAliveInterval?

Is there any reason to use autossh if ServerAliveInterval can be used? The docs on autossh are very terse but from what there is it sounds like autossh was intended for an era before the "new" ...
0
votes
2answers
52 views

Can't scp file from local to remote host - Permission denied

I have trying to copy some files from local machine to remote host. root@local:~$ scp /var/www/html/file.php root@remote_host:/var/www/html/test/ The result is scp: /var/www/html/test: ...
1
vote
1answer
67 views

SSH Bash script for repeated commands on a network cluster

I have a network cluster of about 100 machines, a piece of software and a large list of different parameters for the software. I want to use the cluster to speed up the calculation, so each machine ...
3
votes
0answers
23 views

SSH Connection freezes after minutes of unuse?

I run a RaspberryPi with Raspbian operation system. I have installed a WLAN stick and connected the pi only over WLAN to my network. I can access the pi with ssh pi@pi-ip-address This works fine ...
2
votes
1answer
29 views

Issue with key pair while connecting to AWS EC2 Instance

I am trying to connect via ssh to my RHEL EC2 Instance, from a Linux Mint computer, and when I run this command: ssh ec2-user@SERVER_IP_ADDRESS I get this error: Permission denied ...
0
votes
0answers
9 views

Stop a reverse ssh tunneled port from listening on remote machine

I have a few devices that may get serviced through a server. Since the devices connect through a GPRS network with inbound connections blocked I make them check with the server every few minutes. The ...
1
vote
2answers
27 views

Shared external IP address

So Here is my set-up: I have a raspberry pi behind a router. I set a static internal IP address for the pi. I configured the SSH config files and everything how I like it so far. I have a contab ...
1
vote
0answers
13 views

How can I tunnel traffic from vpn to SSH?

I have: 1) PC - openvpn_connection - Server1(my server) - tunnel works fine i have internet on pc. 2) Server1(my) - SSH_tunnel - Server2 (not my) - proxy works fine, tested on browser internet ...
1
vote
1answer
32 views

How to force mac to use ssh dsa key?

When I try to log on ssh in my linux server from OSX, I force it to use a dsa key with the ssh config file. However, before connecting with the dsa key, it tries to connect with a rsa key (which ...
1
vote
1answer
28 views

When/why does SSH close a connection?

I have a CentOS server which I access via SSH from my Windows laptop, either manually with Putty or programmatically using the Python Fabric module. Sometimes after a period of inactivity the ...
1
vote
1answer
25 views

Git commit over SSH not recognizing remote repository

I have 2 machines, client and server. I want to send git repositories from client to server, using remote push. I've run these commands in this order on the server: mkdir /mnt && cd /mnt ...
0
votes
1answer
12 views

Is it possible to capture and export a running process over ssh with x?

I've seen plenty of questions on the web about exporting a display from a remote host to a local. I can get this to work fine, but that's only for commands run after logging into that terminal. Is ...
0
votes
1answer
12 views

Set wireless channel on a DD-WRT router via SSH

I'm trying to change the wireless channel on my DD-WRT v24-sp2 router via SSH. I can persist the channel settings by running; $ nvram set wl_channel=X $ nvram set wl0_channel=X But this doesn't ...
0
votes
0answers
8 views

How to I make the parallels shared folders visible under cygwin ssh sessions?

I do have Windows VM with Cygwin ssh server installed and configured and I am trying to access the host shared folders from ssh sessions. Somehow it seems that even if these folders are mapped in the ...
0
votes
1answer
13 views

How to test if screen is started, then execute a command in screen and detach it?

screen -list There are screens on: 4278.chat (07/16/15 14:26:47) (Detached) 15127.notifier (07/16/15 13:27:57) (Detached) My goal is to : If chat screen is not ...
0
votes
1answer
19 views

how to resume a screen session?

When I log to my SSH, I have 2 screen sessions: screen -list There are screens on: 4278.chat (07/16/15 14:26:47) (Attached) 15127.notifier (07/16/15 13:27:57) ...