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
0answers
218 views

SSH freezing with ControlPersist on

I recently enabled ControlMaster and ControlPersist in SSH so that it reuses and multiplexes connections for speed. The config is: ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r ControlPersist ...
3
votes
0answers
231 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 ...
3
votes
0answers
2k views

scp “lost connection” but ssh works fine

A server I can ssh into fine has begun refusing to scp. $ scp ~/tmp/foo user@some.example.com:~/tmp/ lost connection With scp -v -v I can see the connection succeeds and the transfer appears to ...
3
votes
0answers
1k views

Windows 7 putty unable to connect, but works in safemode

Ok so I have been trying to get putty to run on windows 7, with very little luck. Here is the event log from putty: 2012-08-09 15:23:28 Looking up host "redacted ip" 2012-08-09 15:23:28 ...
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

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
38 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
31 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
37 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
108 views

How to forward ports through ssh and nat to another machine

I have a problem when using ssh port forwarding and nat simoultaneously. Situation: Machine A runs a webserver on port 8080 Machine B is a raspberry pi which works like a little router. It has two ...
2
votes
0answers
52 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
152 views

Making SSH connection to Centos 6.5 VM takes ages

I installed Centos 6.5 in a Virtual Box VM. Everything works smooth, except for SSH logins. It takes ages for the command prompt to display. With some verbosity added: debug2: kex_derive_keys ...
2
votes
0answers
135 views

Tunneling ssh via a SOCKS5 Proxy on Windows

I'm using Windows 7 over my 'restricted' campus network. I use Heroku Toolbelt to work with heroku projects, which inturn uses git and ssh on port 22. However, port 22 is blocked in my campus. Can i ...
2
votes
0answers
65 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
200 views

EC2 - ROOT & SUDO not working

I've setup an EC2 instance(PHP, MySQL, phpMyAdmin). Last night I accidentally execute some command that messed up the permissions. I was able to login as root before (to ssh using puTTy) but now ...
2
votes
0answers
104 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
102 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
64 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
184 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
1k 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 ...
2
votes
0answers
232 views

SSH tunnel opened with autossh closes every few days

I keep an ssh tunnel open with autoSSH. Every few days the tunnel seems to sporadically close. I do a ps -ef | grep autoSSH, and autoSSH is still running. Occasionally autoSSH will output ...
2
votes
0answers
72 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
150 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 ...
2
votes
0answers
153 views

ssh: propagate signal to remote process

This is the general version of: Send SIGTERM signal to a process running inside ssh It is possible to send Ctrl-C to the remote process if the process gets a pty (-tt): # Runs for 5 seconds (sleep ...
2
votes
0answers
362 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
311 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
87 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
200 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
140 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
210 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
795 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
567 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
323 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
755 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
319 views

What is the most MTU efficient way of creating a network tunnel?

I am currently using SSH tunneling to connect to the internet via a remote computer using the -D ssh argument. I've recently run across a problem with this solution -- the SSH protocol decreases the ...
1
vote
0answers
11 views

Can't get github to work on vagrant/puppet

I have a project and we use vagrant for our development env. On Mac/Unix the provisioning works perfectly except in windows The problem is that forwarding agent doesn't work on windows and therefor i ...
1
vote
0answers
6 views

Scroll with mouse in tmux without mouse highlighting controlled by tmux

From this question, Scroll shell output with mouse in tmux the setting setw -g mode-mouse on allows mouse scroll in tmux. This also causes mouse highlighting by click and drag to be controlled by ...
1
vote
0answers
45 views

Intermittent SSHD multiple personality disorder

I have a weird problem on a Debian Jessy box: when trying to SSH in, sometimes everything goes smoothly for days, and sometimes... It goes nuts. The madness PuTTY would tell me that the SSH key ...
1
vote
0answers
33 views

Firefox won't let me select any kind of script as the protocol handler for an SSH link

I'm trying to run a script when I click on a SSH link in Firefox. I have tried using the protocol handlers in the application section of the Firefox settings. For some reason, I cannot select any ...
1
vote
0answers
34 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
1
vote
0answers
32 views

Git does not prompt for ssh key password

I have an ssh key which is password protected. When I attempt to SSH into a remote computer (ssh user@example.com), I get a little dialog which prompts me for the password. Once I have provided the ...
1
vote
0answers
21 views

Upload to SSH in XMODEM manner?

I know I can use scp command and copy any file whenever I can come with ssh client. But let see in more detail. Suppose I have ALREADY logged in with ssh client. This means that I have ALREADY ...
1
vote
0answers
37 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
1
vote
0answers
54 views

I can connect to my SSH server but cannot browse the internet

I have setup an ssh server on my windows 8.1 system as well as port forwarding on my home router and from inside and outside of the network I can login on my macbook using the command ssh -D 8080 ...
1
vote
0answers
18 views

Why when I run a program in a detached screen section it became very slow?

I am not so into Linux and I have the following situation related a strange behavior of the screen command. The situation is the following one: one a RaspBerry Pi I have installed Raspbian (that is a ...
1
vote
0answers
17 views

How to manage SSH keys securely in Windows?

I currently have an SSH key I use to access both Bitbucket and my home server from my Windows laptop. The most convenient way I found to deal with the use of the private key was to just have pageant ...
1
vote
0answers
63 views

Need to reset OS X terminal AFTER logging out of Ubuntu (ssh + zsh)

I have a problem I cannot understand, and cannot debug for the life of me. I run Mac OS X 10.9.2 (latest) and use Terminal.app and zsh as my shell. A server I work remotely on runs Ubuntu 13.04 and ...
1
vote
0answers
18 views

Is it possible to specify interfaces for a reverse tunnel in PuTTY?

I am trying to set up a reverse tunnel from a Windows 7 box (call it A) behind a firewall to a DD-WRT router on my home network (call this B). The situation is this, I would like to be able to RDP ...
1
vote
0answers
41 views

Change Router PPPoE Via SSH

I would like to change my PPPoE settings for my modem via SSH, I have updated my DNS using ssh like so, cd LANDevice_1_HostConfig set DHCPServerConfigurable 1 set DNSServers 8.8.8.8 fcommit I ...