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

1
vote
3answers
3k views

Terminal unzip outside default directory

Using terminal command "unzip" seems to be extremely useful when deploying a CMS to a remote server, since you can transfer a zip and unzip it remotely. However, I cannot find a way to unzip the all ...
0
votes
0answers
8 views

OSX HID control from PHP

Here's a real challenge: I have created a command that types from the CLI in OS X 10.11. osxtype "hello" will send the actually keyboard keypresses for h, e, l, l and o. it will type into what ever ...
0
votes
0answers
8 views

How much upstream traffic should a transfer over TCP produce

When a file is downloaded via some TCP-based protocol, there is also data flowing in the other direction – acknowledgement packages etc. Now if I watch some network monitor, I wonder if all of the ...
0
votes
1answer
18 views

Why doesn't my ssh ask for password?

I created a user 'bbword' on my remote CentoOs a while ago and it belongs to the group 'wheel'. I just changed its password. I have two questions: 1) On my current user, after I execute "su bbword" ...
0
votes
0answers
9 views

SSH client for Windows which can use MULTIPLE/many proxies?

There is a good soft which is called Putty for SSH Tunneling for Windows. But it can use onle 1 proxy inside. Is there any identical tool but which can use multiple/many proxies simultaneously for ...
1
vote
1answer
3k views

Unable to ssh in beagle bone black

I wanted to install pip onto beagle bone black,and I tried this: /usr/bin/ntpdate -b -s -u pool.ntp.org opkg update && opkg install python-pip python-setuptools Then it threw errors, ...
3
votes
1answer
2k views

GIT Identity file not accessible: No such file or directory

Host github.com git HostName github.com user git IdentityFile ~/.ssh/github //I've tried also /home/freinn/.shh/github There's no /home/freinn/github file created, have I to create it? That's the ...
0
votes
1answer
31 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 ...
2
votes
0answers
15 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
0answers
6 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
15 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
12 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
1answer
2k views

Can I output results of a MySQL query to a Excel file via Putty?

I'm on a local windows machine. The MySQL DB is on a CentOS machine elsewhere on the same local network. I want to output the results of the query that I'm typing directly into Putty into an Excel (or ...
0
votes
0answers
25 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 ...
90
votes
13answers
57k views

How to reliably keep an SSH tunnel open?

I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken. If I could at ...
121
votes
4answers
80k views

Way to avoid ssh connection timeout & freezing of terminal tab

When I connect via ssh terminal to certain servers, it timeouts and "freezes" the terminal (doesn't accept, doesn't disconnect, can't Ctrl-C to kill the ssh process or anything). This is in Ubuntu's ...
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
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
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 ...
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 ...
1
vote
2answers
6k views

SSH error ssh_exchange_identification: read: Connection reset by peer

I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
-8
votes
1answer
31 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
17
votes
4answers
8k views

Do I need to have a passphrase for my SSH RSA key?

Before I started at my current job (at a small business), my office had no firewall on the network and literally nothing was ever being backed up. Now that I've signed on as a dedicated sysadmin / ...
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 ...
-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 ...
2
votes
2answers
17k views

How do I configure SSH on OS X?

I'm trying to SSH from one Mac running OS X 10.6 to another. Seems to work fine via a password, but I can't get it to use a RSA key instead. Where is the ssh configuration file on OS X and what is the ...
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
9 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>. ...
0
votes
1answer
90 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 ...
2
votes
0answers
33 views
+100

GPG agent over SSH (with vagrant)

I'm using vagrant for building and signing my debian/ubuntu packages but I'd prefer to not have have to copy my GPG keys into the virtual machine just to sign packages. It just feels insecure. Is ...
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 ...
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
vote
1answer
25 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 ...
-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 ...
0
votes
1answer
21 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 ...
-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?
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
vote
2answers
154 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
13 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.
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
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 ...
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 ...
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 ...
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 ...
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 ...
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
2answers
392 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?