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

9
votes
0answers
3k views

Function key shortcuts in PuTTY/MinTTY and Tmux/Byobu

As a long-time lurker on Stack Exchange, I've found answers to most of my problems without needing to so much as make an account. But today I'm completely stumped with this issue, so I'm reaching out ...
3
votes
0answers
41 views

ssh without using the user's default shell

In my office there's a large number of people (3-500+) all using a variety of strange and bizarre configurations. It's very hard to predict how the software we write will behave for a given user ...
3
votes
0answers
3k views

FreeSSHd + WinSCP: “Server refused public-key signature despite accepting key!”

I'm trying to gain access to my Windows 2008 R2 server via SSH. I have a Remote Desktop connection, but I need to upload my files to the server. For SSH servers on the Windows server, I've tried ...
3
votes
0answers
5k views

scp exec request failed on channel 0

I am trying to scp files from one computer to another however I get a "exec request failed on channel 0". When I use ssh however, I can get to the machine with no problems. I am using the scp function ...
2
votes
0answers
27 views

Password required when trying to ssh into a server using Cygwin on Windows 7

I'm trying to set up a server at our company, and one of the things I'd like to be able to do is host public Git repositories on it which I can access over ssh. Both the server and the workstation I'm ...
2
votes
0answers
48 views

How to use UDP hole punching for a SSH tunnel / session

I want to deploy a Raspberry Pi in my weekend cottage. The Raspberry Pi is there to log the temperatures and send them to a remote server which has a fixed ip, saves the data and displays it on a ...
2
votes
0answers
402 views

SSH Public Key Auth doesn't work under clean reinstall of OS X Yosemite

After a clean reinstallation of my MacBook Pro with current Yosemite, the SSH login to all my servers using Public Key auth stopped working. Generating a new Public Key out of my Private Key and ...
2
votes
0answers
415 views

How can I ssh into my Cloud 9 workspace?

I would like to ssh into my cloud 9 workspace. I have set the default "ubuntu" user's password using sudo passwd ubuntu, although this gets reset every time I reload the ide. I found the workspace's ...
2
votes
0answers
19 views

How to Prevent S3/Suspend on F20 when an SSH Connection is Active?

I'd like to prevent an F20 box from entering sleep mode when an active SSH connection is established. Back in the days of pm-utils this task was simple enough -- all that was necessary was to place ...
2
votes
0answers
38 views

Ubuntu unlock ssh key at every usage

I have an SSH private key and I would like to be asked for the password every time if it is used. I don't know how to do this... Thank you!
2
votes
0answers
86 views

Strange behavior on SSH public key login

I'm really stuck here. I've been trying to ssh into my ec2 server from local with a public key but it is not working. -> I get permission Denied (public key). The set up is as follows: Local: ...
2
votes
0answers
124 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
2
votes
0answers
356 views

Error message while connecting to EC2 instance via Cygwin

I am trying to connect my EC2 instance using the directions my instructor provided below: "To connect to EC2 via Cygwin on Windows, you need to handle two key idiosyncrasies. First, the Windows ...
2
votes
0answers
1k views

Irritating CTRL and ESC key in connectbot for android

I have a galaxy note 10.1 and a physical blue tooth keyboard that comes with it. I downloaded ConnectBot because I wanted to SSH to my web servers and use VIM to edit html of web pages. VIM is ...
2
votes
0answers
78 views

Import ~/.ssh/config into Putty

I have a large amount of servers configured in my ~/.ssh/config on my Linux workstation. Currently I am however using a Windows workstation most of the time, and I'm wondering if it's possible to ...
2
votes
0answers
44 views

How to execute program via ssh on a remote machine display

I'm using Linux as a client and windows as a server and I want to display executing program on my windows machine (something like -display :0 option in X systems) wihout installing additional software ...
2
votes
0answers
194 views

Mounting shared directory for chroot users

I ran in to an interesting issue with mounting that doesn't make any sense to me. Basically I have setup a chroot environment for SFTP users, they each have a chroot directory with a format of ...
2
votes
0answers
102 views

Change group or permissions when a file is moved to a shared directory on Linux

I've set up a Linux server accessible with ssh and Samba share. Every user has his own folder USER/ and a public folder USER_public/. Permissions on the USER_public/ are set up using setfacl in such ...
2
votes
0answers
154 views

SSH Gnome Terminal Background/Foreground Colors

How can I automatically change the background/foreground color of my terminal based on the host that I SSH into? My current setup is an Ubuntu desktop running Gnome-Terminal that SSHs into a set of ...
2
votes
0answers
140 views

How can I tell what command is running on the remote end of an ssh connection?

Tl;dr - how do I find the name of the command (eg $BASH_COMMAND) running on the remote end of an ssh connection? ... My example setup is two tmux vertical panes, LH pane runs a local vim session ...
2
votes
0answers
81 views

SSL cert owner != localhost after creating SSH tunnel

I use an SSH tunnel to connect to my work's mail server, then tell my mail client to connect to server "localhost" on port "1993" (the port I chose for the tunnel). I have two different Ubuntu Precise ...
2
votes
0answers
259 views

Reuse Linux SSH-Key with MacOS

I want to use an SSH-Private-Key generated on Debian 7 with my MacOS-Machine. So I copied id_rsa and id_rsa.pub to .ssh/ on my Mac. The Key is recognized, but every time I enter my passphrase the ...
2
votes
0answers
238 views

GUI ssh clients for mac?

Is there a GUI ssh tunneling client for mac that supports jump servers? Mulitple hops? I have tried: coachilla SSH tunnel manager Tunnelblick tunneling manually through terminal is fine, but time ...
2
votes
0answers
206 views

Mobileorg not finding emacs org file with ssh server (but it is there)

I'm just getting starting using org-mode with Emacs - I thought I'd use it as an alternative to Evernote. Having it on my mobile is pretty important (I'm using the Android version). I'm getting the ...
2
votes
0answers
91 views

Escape key strangely captured by javascript webshell

I am using GateOne as a WebShell on my VPS (only way to SSH to it through the proxy of the place...), it uses javascript to emulate a shell by capturing keystrokes. Everything works well, yet it ...
2
votes
0answers
459 views

git clone extremely slow using ssh

Originally I could do git clone using ssh at an acceptable speed. However my ubuntu crashed, so I reinstalled using the newest version 13.04. After I re-installed all I try to do git clone using ssh ...
2
votes
0answers
361 views

SSHFS graceful degradation instead of freeze when connection is lost. Is it possible?

A third-party program will write files to a SSHFS mounted dir. If the internet connection is lost, the third-party program will likely crash (badly), because all programs trying to access such an ...
2
votes
0answers
430 views

How to route internet through SOCKS proxy running on iPhone?

I have a jailbroken iPhone 3GS that I have set up a SOCKS proxy on using the following command: ssh -D 3333 ec2-user@ec2-12-345-678-910.us-west-2.compute.amazonaws.com I would like to share this ...
2
votes
0answers
412 views

Launchd not launching ssh-agent after plist edit

I'm trying to reconfigure my ssh-agent to have a timeout via the -t argument. I edited /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist <array> ...
2
votes
0answers
95 views

SSH through a tunnel or directly depending on the network I'm conncted to

Is it possible to "automatically" configure ssh to use a gateway to connect to a remote machine based on the client's IP address or something in the likes? Suppose I'm at my laptop, which I can plug ...
2
votes
0answers
279 views

Ubuntu SSHFS doesn't sync

I am trying to set up a Ubuntu-machine for web development, and thought i'd start working with SSHFS instead of the annoying FTP-protocol. I installed SSHFS through apt-get. I've created a folder in ...
2
votes
0answers
549 views

ProxyCommand with sudo

I'm trying to set up SSH so that I can easily log into an server that is accessible only via a sudo to an intermediate server. From the command line, logging into it is of the form: sudo -u admin ...
2
votes
0answers
181 views

Different behaviour when ssh to Windows Cygwin server, depending on password-less or not

I have configured my OpenSSH server on a Windows XP system. Everything is working fine... though it is depending on the way you connect on the machine. Details : - on Windows side, in a domain ...
2
votes
0answers
296 views

TortoiseGit stops connecting after a seemingly random amount of time

I use TortoiseGit to connect to a private remote git server, but after an indeterminate amount of time (possibly longer than 6 hours?), trying to connect results in a bad file number error. I've tried ...
2
votes
0answers
926 views

Why is ssh login occasionally failing?

I'm using ssh to execute commands on another host and have noticed that occasionally the connection is closed before it ever connects. Both hosts are CentOS release 6.3 running OpenSSH_5.3p1, OpenSSL ...
2
votes
0answers
687 views

SSH connection timed out Win 7 Cygwin

Trying to establish ssh connection to my own computer. Running cygwin on Windows 7. Have openssh installed using this guide: ...
2
votes
0answers
355 views

Multiple SSH Connections over different connections

I have a Linux box with a couple of 3G/HSDPA modems, seen as network connections, and i would like to get each to connect to a server over SSH. The server could be the same server, and i would need ...
2
votes
0answers
821 views

HTTPS hangs using SOCKS5 proxy over SSH tunnel

Using SecureCRT at work to connect via SSH to my home Mac using a SOCKS5 proxy (my company also has a corporate proxy). I am using Chrome and Firefox with this SOCKS proxy. Regular browsing is quick, ...
2
votes
0answers
2k views

SSH tunnel over HTTP(S) proxy (Reverse RDP)

I've been trying to accomplish this scenario: HOST_WORK is behind non-transparent squid_proxy (its not, but to get outside you need to use it, all other packets are black-holed on gateway not to ...
2
votes
0answers
252 views

SSH portforward and direct SSH to remote box

There are 2 servers - server1, server2. To access app port on server2, I go via port forwarding. ssh myuser@server1 -L 7777:server2:9999 So, now I simply direct my browser & point it to 7777 and ...
1
vote
0answers
26 views

System-wide DNS lookups over SSH tunnel

IT has the lab locked down so I cant do apt-get updates or install any packages on the Ubuntu machine. We have a Windows RDP desktop that has limited internet access. I have an SSH server running on ...
1
vote
0answers
19 views

SSH works in Remmina but not in Terminal nor Putty

I was able to connect to my server using SSH normally using Terminal but suddenly it didn’t connect. I tried PuTTY as well and ended up with no luck. However when I tried remmina it successfully ...
1
vote
0answers
8 views

1 chroot sftp user that is able to traverse all other chroot sftp users files/folders

I have a chroot environment that I have setup on CentOS 6. We have users for all of our trading partners and I would like to create an internal user for another department that can sftp in and only ...
1
vote
0answers
19 views

ssh-agent installed with git 1.9.5 faults

I am getting a fault when running ssh-agent from windows 7. I think it could be a permission issue, though UAC is off. ssh-agent.exe SSH_AUTH_SOCK=/tmp/ssh-vDq8tk2Qlatv/agent.10256; export ...
1
vote
0answers
19 views

How to automatically log-in to remote MySQL instance via ssh behind another host?

I have an alias set up to ssh to a remote machine through a proxy ... alias sshcmd='ssh -t davea@proxy ssh destmachine' but I want to set up an alias where I ssh into the remote machine and then ...
1
vote
0answers
44 views

SSH “Write failed / Read from socket failed: Connection reset by peer”

When I try to connect to my SSH server (running Arch Linux) at home from my school (on my Windows 8 laptop), I sometimes get "Write failed: Connection reset by peer," and other times "Read from socket ...
1
vote
0answers
23 views

SSH key forwarding not working between MinGW and Ubuntu VM

I've read a great deal of similar issues, but haven't yet found the answer. SSH forwarding between my MinGW (Windows 7) host and an Ubuntu Precise VM, provisioned with Vagrant, is not working. ...
1
vote
0answers
24 views

Two keys in ~/.ssh directory

I originally had a DSA public key in my ~/.ssh directory on my server id_dsa.pub. The corresponding private key id_dsa is stored on my local machine. I then generated an RSA key pair directly inside ...
1
vote
0answers
23 views

clipboard between osx and linux over ssh

My dream: From my osx machine I ssh to a linux machine and can copy paste with a commandline application like xclip or pbcopy, and then be able to use it on my host machine. Example input (mac)$ ...
1
vote
0answers
24 views

ant <scp> support for ssh-agent

I have an existing build.properties file that uses scp like this: <scp todir="${linux.user}@${linux.site}:@{todir}" keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}" trust="yes" ...