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
1answer
3k views

Connecting to an SSH server from Client behind an NTLM Proxy

I'm trying to get to my SSH server on the internet from a corporate network. All connections to the outside internet have to be proxied through a server that check's for the NTLM hash of each client ...
0
votes
1answer
26 views

How to set up HTTP/SOCKS5 tunneling proxy on Windows using freeSSHd?

freeSSHd was set up on the server. Putty successfully connecting to server over SSH. I have tried to configure tunneling for SOCKS5 and HTTP but it failed to work. Especially was tested on Opera where ...
0
votes
3answers
185 views

Reach computer behind a NAT or Proxy

I have a home PC connected through twoway satellite modem. I cant reach from outside, so after a some research I found a solution which is reverse ssh tunneling. but I have a few question regarding ...
3
votes
1answer
2k views

Execute local script requiring arguments on Linux via plink

Is it possible to execute (from windows) a local script with arguments on a remote linux system? Here's what I got: plink 1.2.3.4 -l root -pw mypassword -m hello.sh Is there a way to do this ...
0
votes
2answers
3k views

sftp limit user to directory

I need to limit sftp for a user to a certain folder. So far I have followed this tutorial to the letter: http://shapeshed.com/chroot_sftp_users_on_ubuntu_intrepid/ It works in the sense that I can ...
0
votes
0answers
6 views

Using sftp ChrootDirectory while giving other users write access to the same directory

I need to allow an untrusted user SFTP access to a particular directory under his webserver root. I don't want him to access any other parts of the system (including the rest of the web), so I thought ...
0
votes
2answers
12 views

Head of ssh file resource

Sort of an odd question, but is there some way that I can operate on remote resources as UNIX files? E.g. I'm looking for some way to do tasks like the following: head ...
3
votes
1answer
50 views

What does Shift+Enter do in a terminal, and can I disable it in Vim?

Everyone once in a while while in insert mode in Vim, I'd be happily typing along, when all of a sudden I'd be thrown out of insert mode and my last edit undone after hitting a certain key ...
0
votes
1answer
4 views

FTP File display works in filezilla, but lists blank in other apps? (Centos 6/vsftpd/ssh)

So had to basically re install entire server, lost everything, but I am trying to add this one script that has a custom installer that uploads the FTP files directly through its self extracting ...
1
vote
0answers
11 views

Git suddenly started to choke on “git pull” for only one repo

Yesterday, at some point in time, my Git for Windows suddenly started to choke (hang forever) on git pull for only one repo. I managed to pull changes ten times this day, I started to fail on eleventh ...
4
votes
1answer
43 views

For what does ssh use UDP?

Wile doing research I noticed that SSH both uses TCP and UDP. I completely understand the use of TCP, but UDP seems a bit strange. Why would I use an "unreliable" transport protocol with minimal ...
1
vote
4answers
201 views

ROBOCOPY Copying directory from remote computer: error 'the network path was not found'

I am trying to copy a folder from a remote computer using ROBOCOPY I'm using the following: NET USE \\192.168.10.90\IPC$ /u:server\[username] [password] ROBOCOPY \\192.168.10.90\home\lgr\ ...
0
votes
1answer
10 views

Setup ssh tunnel to access FTP on a remote server

I have an FTP server which is only accessible from 1 cloud machine (limited by IP). Is it possible to create an SSH tunnel between my home computer and the cloud machine so I can access the FTP ...
0
votes
1answer
15 views

Is there a way to launch persistent cmd windows through SSH?

I want to ssh into a remote Windows box, and launch a .cmd file - the caveat being that the command window has to stay open for the launched application to remain accessible. Is this possible?
0
votes
0answers
224 views

How to install IPKG on Synology DiskStation

Is there anybody out there who got the 'ipkg' package manager running on a Synology DS412+ with DSM 4.3, or someone who knows how to do so? I've tried to install by GUI, used the package from ...
1
vote
1answer
229 views

Reverse SSH tunnel - Fails on Certain Ports

I'm trying to forward very specific ports using a reverse SSH tunnel. MachineA is the target machine (the one the command is being run from) and MachineB is the tunnel (the one SSH is connecting to ...
1
vote
1answer
25 views

Mass creating users who can login via ssh keys but not with a password

I am trying to mass creating users that can login via ssh private/public keys but which can not login with users (kind of like using newusers but I want to make sure users will not be able to login ...
1
vote
1answer
13 views

How to release ports on the SSH server when a reverse ssh tunnel disconnects abruptly/uncleanly

Ok here is the issue, We have a some hardware we install at our customers' locations, that hardware connects to our ssh server and establishes a reverse ssh tunnel so we can gain access to several ...
2
votes
3answers
4k views

How to SSH an outside server from a computer which is behind a proxy firewall?

I access the Internet through an HTTP proxy firewall at college. And I need to login to a computer, via SSH, which is outside our network. I tried it as Linux command and on Windows using PuTTY. I ...
0
votes
1answer
95 views

How to tunnel a port from a server behind a firewall to a remote server that allows connections via ssh?

I have a scenario where I need to open up a port for a server behind an ISP that appears to be blocking traffic. In this case I have a dedicated server remotely that I can ssh into and use whatever ...
0
votes
0answers
24 views

SSH reverse tunnel fails to automatically restart. How to make sure it times out properly?

#/bin/bash echo "Opening tunnel..." ssh -o ConnectTimeout=10 -gnN ... user@se.rv.er 1>>tunnel.log 2>&1 & PID=$! echo "Tunnel is now open." wait $PID echo "Tunnel is now closed." ...
1
vote
1answer
198 views

Ubuntu/Nautilus - connect to server: is it possible to disable moving folders?

Sometimes I use Nautilus on Ubuntu to connect to a remote SSH server. I can browse folders easier and open and edit files remotely in my local editor. One thing I'm concerned about is accidentally ...
1
vote
2answers
2k views

I am getting this error “ssh_exchange_identification:”

Every thing was working fine till yesterday and now suddenly I am getting this error if I type ssh -D 9999 vivek@172.16.30.30 ssh_exchange_identification: Connection closed by remote host Here is ...
7
votes
4answers
21k views

How do I exit an SSH Shell?

I'm connecting to a server via ssh to send a message using a command like: ssh 181.169.1.2 -p 5566 After the connection is established and i write the message and send it i can't exit the text ...
0
votes
0answers
11 views

How do I setup an SSH to remote into ARM using ethernet port

I am using the Xilinx Zynq 7000, on the TE0720-1 which is mounted on the TE0701-03 carrier board. I was wondering how do I set up an SSH to be able to remote into the ARM processor of the SoC to be ...
1
vote
1answer
17 views

Background chained ssh tunnel dropped instantly

I'm trying to establish the following chained ssh tunnel: ssh -A -t gatewayuser@gatewayserver 'ssh -N -A -t -R 55520:127.0.0.1:55520 user@dbserver' & This is part of a shell script, I want the ...
1
vote
1answer
5 views

GPG fails to retrieve passphrase

When trying to do gpg (version 1) keygen on archlinux I get the following errors after details (other than passphrase) have been entered: You need a Passphrase to protect your secret key. pinentry: ...
0
votes
1answer
17 views

Arrow keys not working correctly in remote vi

I'm on a linux box connected with ssh to another linux box. When editing a file with vi, arrow keys work in default mode, but when I switch to edit mode ('a' or 'i') arrow keys output letters (like ...
1
vote
4answers
4k views

How can I set it up so I can SSH into my VMWare guest VM?

For some reason, documentation on this process on the internet is quite lacking or out of date. Basically, I have a guest VMWare virtual machine in VMWare Fusion (running Ubuntu 10.10), and I have Mac ...
1
vote
0answers
19 views

Connection reset when trying to tunnel http/socks by multi-hop ssh

Involved machines: (client)A -- B -- C(exit) A/B is cygwin ssh/sshd, C is linux What I want: A's http(s) and socks traffic be tunneled through B,C. Destination is any IP, so -L alone doesn't ...
0
votes
0answers
11 views

What ProxyCommand to use for ssh host-based authentication relay?

I have a host $HOST which I can (only) access by sshing to a host $BASTION and then, by host-based authentication, connect to with ssh $HOST. $HOST does not accept access by for example public-key ...
13
votes
2answers
27k views

How can I create an SSH user who only has permission to access specific folders in Ubuntu?

I installed SSH, but I found if I use my original account to login to Ubuntu, it has too many permissions. I want to constrain the user to only have permissions for specific folders in Ubuntu. How ...
0
votes
2answers
13 views

How to allow ssh into a device on remote 4g modem when provider is blocking inbound connections?

I am planning on deploying a network of remote devices, each connected to the internet through a 4G modem. The devices need both outbound connectivity to our cloud-based servers, and occasional ...
0
votes
0answers
13 views

Follow up to SSH access to office host behind NAT router

I have a problem similar to the already posted SSH access to office host behind NAT router to access from a homepc an OfficePc using a server with no root access the given solution was: ...
3
votes
2answers
532 views

How to copy a file using pscp through an intermediary gateway server hop

I have a linux jump box between me and a remote server. I have seen a few posts on how to do this with scp (e.g. here), but I am on a Windows box, so the situation is slightly different. I want to ...
0
votes
1answer
14 views

mac osx littlesnitch blocking outgoing connections from ssh remote login

I have setup remote ssh access on the rush in my development computer (OSX 10.6.8) before leaving my home for holiday yesterday. It is correctly setup, and I can access it via SSH, logging is as root ...
0
votes
2answers
27 views

How to debug an ssh terminal session?

I'm having an issue with a block of machines running debian 6 (ARM). When I ssh to them I'm only able to get about 3 lines of output from any command (eg 'ps -ax') before the session is locked up and ...
0
votes
1answer
29 views

Running a script from ssh, logging out and continuing the script

The overall question here is - how do I automate sshing into a machine, running a script, and exiting without killing the script? I know that this has been answered several times, but I'm not having ...
0
votes
1answer
3k views

ssh tunnel error : channel 3: open failed: connect failed: Connection refused

I'm trying to access and browse internet through a ssh server so in my laptop (ubuntu 12.04) I do this: ssh -D 9999 root@server-ip then in the network proxy in my laptop I set: HTTP proxy ...
0
votes
2answers
23 views

Rsync folders automatization

I've got a folder on the remote server, to which I'm connecting via SSH. When I need to synchronise folders I'm using manually access via scp. (I'm synchronising my folder with the folder on the ...
0
votes
2answers
45 views

Work is blocking an SSH connection, what is the easiest workaround?

My work laptop/network is blocking an SSH connection (that I can make with my cellphone so I know it's valid)? What is the easiest away around it? I'm fine with a small fee to reroute or whatever. ...
83
votes
3answers
55k views

Tell git which private key to use

ssh has the -i option to tell it which private key file to use when authenticating: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is ...
0
votes
2answers
619 views

Terminal highlight error when compiling with a make file

I have a simple make file and I want to highlite the word or line that contains "error:" to make it easier to see. I am SSH via Putty to the linux machine which may cause a problem but currently I ...
2
votes
1answer
2k views

EC2 ubuntu AMI ssh password default without key

I have a problem getting past the prompt after setting my first EC2 instance. The ubuntu LTS AMI supposed has ubuntu as the default user name. I set up the instance without keypairs when asked during ...
33
votes
2answers
14k views

Does Heartbleed affect ssh keys?

Does the recent Heartbleed bug affect the ssh keys I've generated and use to push/pull code with Github, Heroku, and other similar sites? Do I need to replace the keys I've been using?
0
votes
0answers
12 views

Running programs without graphical logon - OSX

I downloaded a program to interface with my scanner (scanline, link). It works perfectly when I use it from terminal. Scanner fires up, image is saved. If I ssh into my Mac from another computer, ...
0
votes
2answers
24 views

Tasks done by ssh server when it recieves a request

When i ssh into a server using ssh -vvv user@ip then It gives me all the information of the steps that a particular client is performing in order to connect to a OpenSSH Server. So i was Wondering ...
0
votes
1answer
86 views

Mac OS X 10.9 Mavericks breaks passwordless SSH to localhost (for hadoop)

Sorry if this sounds like a repeat, but I'm fairly sure it's specifically Mac OS X 10.9 related, it works fine for me on my 10.8 machine. I've done everything identically, as usual: $:~ ssh-keygen -t ...
1
vote
1answer
2k views

SSH Connection: ssh_exchange_identifcation

I have been connecting to a remote server through my Mac for about a month now. As of recent though, I tried to connect using ssh dylan@MY_IP and got this message. ssh_exchange_identification: ...
0
votes
0answers
88 views

errors exporting audio over ssh

i am attempting to forward audio (x11 video is already working) over my local lan from a source pc to a client pc. both machines are running ubuntu. i have followed these instructions but i'm getting ...