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

3
votes
3answers
2k views

PuTTY not sending Esc

I SSH with PuTTY from my Win7 x64 laptop to a Unix environment for my office. The problem I'm facing is very similar to this post where I cannot send an Esc character to the terminal. I first noticed ...
3
votes
3answers
7k views

Keeping Cygwin SSH session alive [duplicate]

I'm having the a bit of a problem with accessing remote RedHat servers from a Windows machine using Cygwin SSH client. What I do is I run some fairly time-consuming QA scripts on the remote RedHat ...
2
votes
4answers
214 views

Accessing a mySQL database on an external server

I have a large (multi-gigabyte) SQL database on an external server. I can access it through SSH, but manually querying the data will be a major pain. I really need a GUI. I'm using Ubuntu 13.04, but ...
1
vote
1answer
67 views

Job management for Linux and numerical simulations

I am working on numerical simulations, and I run them with parameters so that they finish in a couple minutes. I'd like to let them run longer, maybe days. Currently, I have the parameters compiled ...
0
votes
1answer
23 views

Opening & Lockingdown SSH

I am about to port forward my SSH service through my NAT router enabling access on the WAN side. What steps should I take to lock down SSH service before port forwarding. I am currently: Using a ...
1
vote
1answer
193 views

SFTP access without hassle

I'm trying to provide access to a local folder for someone over the internet. After googling around a bit, I've come to the conclusion that SFTP is the safest thing to expose through the firewall to ...
3
votes
1answer
151 views

Is there any benefit to exiting nested SSH sessions, as opposed to closing the entire terminal application?

The question should hopefully sum things up, but essentially, I'm in a bunch of SSH sessions, some of which have additional SSH sessions to other hosts. Are there any negative impacts to simply ...
1
vote
1answer
1k views

How do I get openssh to save my ssh identity permanently in Xfce?

How do I change it to save my identity permanently using Xfce? During my login session after I have entered: $ ssh-add Then identity is saved and I can connect via ssh without getting the dreaded: ...
0
votes
1answer
1k views

Transfering Files to server IP and port

I need to transfer files from my local computer on windows 7 to a server running linux. I access the server with putty through ssh at a specific IPv4 address and port number. I've attempted using ...
3
votes
1answer
262 views

ssh session occasionally hangs for some time

I have several ssh connections to a server that is in the same LAN as my desktop machine. Some sessions have X forwarding enabled, some don't. Both types of sessions occasionally hang for a couple of ...
0
votes
1answer
233 views

How to make ssh remember unlocked ssh-keys not in default directory

I structured my private/public-keys in a subfolder of ".ssh" called "keys". Mapping is done by a .ssh/config file. Now I have to retype the passphrase for every key every time I use it. Before this ...
0
votes
1answer
838 views

Remote Access without Teamviewer or Hamachi - Part 2 of 2

INTRODUCTION This discussion is a continuation from here: superuser.com/questions/610383/remote-access-without-teamviewer-or-hamachi/610396?noredirect=1#comment755389_610396 I want to remotely and ...
0
votes
1answer
235 views

Connecting to Windows 8 Cygwin SSH through DD-WRT from WAN?

I'd like to connect from my work to my home PC/Laptop through Cygwin's SSHD. I have DD-WRT installed on my router and i'm not really sure on how to configure it to allow me to get in. It works nicely ...
0
votes
1answer
220 views

Restoring OpenPGP Keys from an Ubuntu Backup

My computer with Ubuntu broke and have a backup from that (Déjá Dup). Now i want to restore my public and private keys to a Thunderbird installation in Windows 8. There's this .ssh folder inside the ...
4
votes
1answer
2k views

X11 forwarding doesn't work with multiple tmux sessions

If I start a tmux session locally and leave it open, then ssh in remotely and start a new tmux session (not attaching to the old one, a brand spanking new session) X11 forwarding seems to break. I've ...
8
votes
1answer
20k views

PuTTY X11 proxy: wrong authorisation protocol attempted

I am trying to connect to an Ubuntu server to work on Qt-creator. Before everything goes wrong, I followed this tutorial. I downloaded putty and Xming and everything was working just fine. then, ...
2
votes
3answers
1k views

Deploying .war file on java application server only when file has finished being uploaded on a linux box

This problem happen quite frequently while uploading a .war or .ear, that are just little more than .zip file, to a remote server, and have it deployed by the application server. Usually, at ...
2
votes
1answer
966 views

Run ssh/scp without .ssh directory or with alternate dir?

I'm inside chroot, and everytime I scp it keeps telling me: bash-4.2$ scp user@example.com:somefile . Could not create directory '/.ssh'. Host key verification failed. Obviously, I have no means ...
1
vote
1answer
2k views

Setting up SSH with an existing id_rsa.pub key

I have a client providing me with his own id_rsa.pub key, he wants me to setup a SSH server so that he can send me files. As far as I understand, when I setup my SSH Server (freesshd on Windows) I ...
0
votes
2answers
1k views

Ubuntu 12.04 Permission denied (publickey,gssapi-with-mic)

I was cloning a github repository. I copied my id_rsa key from another pc to my /home/me/.ssh/ however this error shows up Permission denied (publickey,gssapi-with-mic). how would I solve this ...
1
vote
1answer
533 views

putty SSH via gateway server with keys

I'm trying to setup an SSH connection to an internal server that is only available when proxy'd through a public SSH server like below Me > Gateway SSH Server > Internal SSH Server On linux I can ...
0
votes
1answer
204 views

Emacs doesn't use ~/.ssh/config when accessing files on a remote machine

I have a fresh install of arch Linux. I've installed Emacs from the rpos, and my home directory is mounted from a separate partition. I have old settings I've used on my ~/.ssh/config along with ...
0
votes
1answer
479 views

Chroot from android into environment as user

I'm trying to use my android tablet as a dev environment. So far I have created an Arch and Ubuntu img. I can chroot into both just fine and I have created a user using adduser, but I do not know how ...
4
votes
1answer
457 views

How to encrypt rsync communication? (rsyncd + stunnel, vs rsync over SSH, etc)

I don't know much about the specifics of rsync, SSH, stunnel, etc, but I'm looking for a way to make rsync backups, but the transfer of data over the network must be encrypted (the credentials, and ...
2
votes
1answer
2k views

SSH from local machine to virtual KVM guest

I have libvirt+lvm+kvm setup on dedicated server with one virtual guest inside. I can access guest from host using ssh and ip of guest, but I can't understand how do I access guest from my laptop ...
1
vote
1answer
65 views

Restarting multiple mac computers with terminal

How do you restart multiple mac computers that are on the same network with terminal? I know the ssh command to login to one computer but I want to be able to send a reboot command to multiple ...
3
votes
3answers
3k views

VNC via SSH tunnel: channel 3: open failed: connect failed: No route to host

I used to connect from A to a system B through VNC with SSH tunnel via C. I do the following: In B I start the vncserver: vncserver and let's say I get the :12 In A I open the ssh tunnel: ssh ...
0
votes
2answers
2k views

OpenSSH (Windows) to SSH (Linux) key auth not working

I've setup an OpenSSH server on my windows machine and have been able to successfully SSH from windows box to my Linux machine (and vice-versa) successfully. Although, I am not able to set up key ...
0
votes
0answers
731 views

Executing tcpdump remotely while storing packet capture locally

I have run into stumbling block while attempting to create a bash script that will write packet capture files from tcpdump onto a remote server, while displaying the output of the tcpdump command so ...
0
votes
0answers
19 views

Executing tcpdump remotely while storing packet capture locally [duplicate]

I have run into stumbling block while attempting to create a bash script that will write packet capture files from tcpdump onto a remote server, while displaying the output of the tcpdump command so ...
-1
votes
1answer
196 views

How to use remote IPv6 over ssh? [closed]

I have a cheap VPS with 1 IPv4 and 5 IPv6. I want to use 1 of the unused IPv6 connections on my computer so I can start using IPv6 Does anyone have any ideas? I would prefer an all OpenSSH based ...
0
votes
1answer
3k views

How to transfer entire directory from one server to another via SSH

I have two servers, access to SSH on both. I want to transfer entire directory from server A to server B. They are both remote servers to me. Am I right to assume it is possible to log into SSH ...
0
votes
0answers
272 views

packet loss and unable to ssh

I am trying to connect to a linux server from my linux machine using SSH over LAN. I don't know what the problem is but sometimes I can ping the server but can not ssh whereas at other times I am ...
0
votes
1answer
260 views

Setting up a web server on ubuntu server 13.04 with user panel [closed]

I currently have Ubuntu Server installed to a VirtualBox image runnin on my main computer, I am wanting to use it for a web server with a user panel such as webmin (from my research i think this ...
0
votes
1answer
61 views

What's the most seamless way to work over ssh on OSX?

There's something just wrong about scp'ing every file you've changed. I normally use Sublime Text 2 - is there an editor or something that can upload files right as they are changed via scp? If not, ...
0
votes
0answers
207 views

is there any tool on windows like nppFtp but can jump through ssh? [closed]

I use notepad++ with nppFtp on windows now, but it can only access a server with public ip, either by SFTP or FTP. I want to edit some files on a server without public ip but can jump through another ...
8
votes
3answers
829 views

Three-step authentication?

I'm using Ubuntu. I'm just wondering if it's possible to have libpam-google-authenticator (which lets you log in using a code generated by your phone) AND certificate authentication set up to work ...
0
votes
1answer
67 views

Is there any way to bind a alias for some IP without using DNS or hosts?

In a local area network, there is no DNS service. I also have no permission to sudo. In daily work, I frequently use SSH between some nodes. It is so troublesome to type ssh user@192.168.1.2 every ...
0
votes
1answer
300 views

Is it possible to control a remote terminal window?

I run a few things in a terminal window at work (osx and linux servers) and would often like to check on them from home. I can ssh to my work computer, but I'm wondering if it's possible to control ...
0
votes
0answers
74 views

Dynamic Port Forwarding Automation and Which Ports?

I've successfully enabled dynamic port forwarding in my web browser. Now I'd like to go a few steps further if that's at all possible. 1) There is software that monitors network traffic on a ...
0
votes
1answer
303 views

SSH to specific computer behind a router if local IP is known

I'm hosting a number of websites out of different boxes behind a router; when I was only hosting one, it was simple enough to forward port 22 on to the hosting box and use that one as a remote server ...
1
vote
1answer
63 views

SSH parameter help on Ubuntu Server

I have a variable setup like this: SSH_EXEC="ssh -X -o ControlPath=~/.ssh/master-$$ -o ControlPersist=60" The parameter in question is the -X, because if I then call this command within my local ...
-1
votes
1answer
90 views

Why i can not connect myself as root on mac using the terminal?

Actually i have to connect myself as an admin : ssh user@xxx.xxx.xx.xx to log into the mac and then use "su" to be as root. I can't connect myself directly as root! WHY?!?....
0
votes
5answers
8k views

ssh key auth still asks for password (no passphrase set)

Trying to set up SSH to my CentOS VPS with key auth and no pass phrase so that I can auto-connect from my Debian 7 local server. I've gone as far as copying and pasting from two different guides on ...
2
votes
1answer
204 views

SSH Dynamic Port Forwarding

I've done lots of searching over the past couple of weeks. And I've found a LOT of blog entries and articles on the subject. But invariably they're either just an article talking about the benefits ...
0
votes
1answer
952 views

How to discover what is killing a process?

I have a minecraft server running in a VPS and sometimes my server is being killed unexpectedly. I don't believe this is a java error because no error is thrown and this happens when the server is ...
0
votes
0answers
92 views

libssh vs alternative root users

Here is an excerpt of the /etc/passwd file on a remote machine. root:x:0:0:root:/root:/bin/bash valid:x:0:0::/home/valid:/bin/rbash As you can see, valid is an alternative name for root. I can ...
2
votes
1answer
1k views

How to use sshpass for chained connection?

I have two customer's machines, $gateway and $server, the second one is only accessible from the first one. Public key auth is unavailable on both systems. So, to execute some $command on the server I ...
0
votes
0answers
91 views

Connect to local VirtualBox

There are several VirtualBoxs running on a machine I have ssh'd into, part of ps aux: /usr/lib/virtualbox/VBoxHeadless --comment workspace_1368637257 --startvm 61c3fb72-92e2-4505-a5bb-2becfc6a7278 ...
0
votes
1answer
347 views

Run local GCC on remote linux server

I'm sure this has been asked before but after some time searching I'm not finding quite what I want. I have a test server that I cannot install GCC or other development needs on. On my development ...