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

2
votes
3answers
577 views

How to paste multiple Bash commands into a shell without losing some?

It's nice to copy-paste a series of Bash commands that you find on a website. But depending on the commands, sometimes you lose a few. Maybe they get swallowed up by programs that read from standard ...
2
votes
1answer
141 views

SSH Port closed although forwarded correctly

I'm having an issue with opening my SSH port. Here are the symptoms. Within the local network I can ssh to the machine, including both locally (ssh localhost) and from alternate computers. I have ...
2
votes
1answer
313 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
1answer
238 views

Allow shell access for key holders OR password login for whitelisted IP addresses

As a first line of defense against brute-force attacks, I've restricted SSH login attempts with TCP wrappers (denying access by default, and maintaining an IP whitelist in /etc/hosts.allow). However, ...
0
votes
1answer
404 views

How to ssh my desktop(ubuntu) from outside network [duplicate]

I have set up simple ssh server by using openssh on my Ubuntu. I tried to ssh it from my Mac, which successful. But my mac is in the same subnet, which behind same router at my home. my ubunut local ...
3
votes
6answers
11k views

how to copy entire linux root filesystem to new hard drive on with ssh and tar

I need to transfer an entire linux root filesystem off of a failing hard drive onto another computer with an open, available partition. I've pretty sure this involves tar and ssh, but I can't remember ...
0
votes
1answer
783 views

Using local SSH tunnel from remote machine/another subnet

I have a Linux machine (box 1) with Internet service connected to a Wifi router sitting right next to it, through Ethernet (eth0). The purpose of this router is so I can share this Internet connection ...
0
votes
1answer
1k views

I can't see colors in zsh through SSH

I recently moved from bash to ZSH and oh-my-zsh (which is so far wonderful) and installed it in my desktop, laptop and hosting (dreamhost) with a theme called agnoster. I also installed solarized and ...
0
votes
1answer
108 views

SSH menu script auto login to device

I have created a menu for users to select from to ssh into whatever device they selected. This is used my the Engineers that manage these devices. Right now it when they select the device they want ...
0
votes
1answer
1k views

ssh not getting disconnected when tcpkeepalive timeout enabled

I see there are 3 parameters of importance in the ssh_config file : TCPKeepalive ServerAliveInterval ServerAliveCountMax 1) When I try ssh with tcpkeepalive=yes, the ssh conenction does not get ...
0
votes
0answers
71 views

Shell doesn't appear when connecting to RasPi via SSH

I have a raspberry pi with Arch Linux ARM installed. I would like to run commands via my laptop. I configured SSH correctly and I can log in, but I can't do anything. There is no shell. ssh user@host ...
0
votes
3answers
615 views

How do I remotely execute scripts on multiple servers, mix output

Hi I'm looking for a piece of software or some sort of technique that would enable me to do following in one terminal window: Take as input a list of ssh-enabled machines with login, password and ...
0
votes
2answers
710 views

Sending files to CentOS machine via ssh

I'm using ssh and connecting to a linux machine for the first time from my Windows 7 machine and right now I'm using putty to access a CentOS machine via ssh. I need to transfer some big files to the ...
0
votes
3answers
82 views

Connecting ssh from ubuntu

I want to connect to ssh from ubuntu terminal but I don't know how. I have searched it on google but I don't understand. I have an ip adress, username and password. If someone can explain to me how ...
1
vote
1answer
67 views

Mouse pointer missing in SSH windows

I have a problem with the mouse pointer when I use SSH to launch a remote window. I run ssh -CY somehost and then run some command that opens a new window. When the mouse pointer enters that new ...
1
vote
1answer
158 views

SSH to a computer in a DMZ

So here is a rough sketch of what my network currently looks like: From the .2 machine I would like to SSH into my .6 machine, however I am not even able to ping it. This all worked when I was on ...
0
votes
1answer
256 views

How do I use tar to transfer through ssh on a non standard port?

I am trying to transfer all files from within a directory through tar as follows: tar cz * | ssh -p 57310 root@example.com tar xzv -C /home/site/www and the error that is returned is stdin: is not ...
4
votes
1answer
3k views

Export putty settings (or sessions) from a linux to another linux

I've been searching the internet for an answer for this question but I found only answers for exporting from a windows to another (using regedit). Is it possible to export putty sessions from a linux ...
1
vote
1answer
310 views

Back up to Time Capsule remotely via SSH + iMac

I wonder if it's possible to connect from my MacBook at home to my iMac at work, using SSH and then bind 'whateverport' to my Time Capsule (placed at work) so I can backup my MacBook from home as ...
0
votes
2answers
171 views

Start program via SSh and then close tunnel

I have got a little python program which I want to run on my remote sever(Ubuntu). But after closing the ssh-connection the program closes as well. How do I keep this program running without the ...
1
vote
2answers
2k views

How to connect to a remote VM using vagrant?

I have two Windows 7 machines in my local network. One Windows 7 with Virtual Box (running Ubuntu) installed. Is it possible to connect to the Ubuntu from another machine by using vagrant ?
1
vote
1answer
234 views

I need this linux port forwarding command translated to putty

How can I translate this command to putty? I'm on a windows machine running putty. ssh -f HOST_A.net.local -L 2000:HOST_F.net.loal:3306 -N I'm following along with these links. But the -f flag ...
0
votes
1answer
886 views

VPN over SSH (sudo ifup tun0, Failed to bring up tun0.)

I'm trying to follow this guide: http://bodhizazen.net/Tutorials/VPN-Over-SSH/ I'm having problems getting my VPN over SSH to work. I am pretty sure that I've done all the right steps, but I keep ...
5
votes
2answers
260 views

Wait until SSH succeeds creating a port forwarding

I am calling ssh (OpenSSH) from a OSX/Linux-C++-Application via fork/exec to create a dynamic port forwarding. This is done using batch mode (-o BatchMode=yes) and a private key which is supplied to ...
0
votes
0answers
53 views

Git messed up my website folder

I am in australia and this is my university's website server. I wanted to add the files to git. So I created a repo in github and then on my server did a git clone of the repo, add *, committed and ...
0
votes
0answers
151 views

SSH prompting for password when there isn't one

I have a small embedded device that runs Linux and an SSH server. This box is set up with one user (root) and no password whatsoever. Currently, there is one Windows XP-based laptop that is used to ...
0
votes
3answers
6k views

Remotely access a Raspberry PI

I was wondering how I can access my Raspberry Pi outside my home network. I can VNC through a SSH tunnel over my WIFI internally but I could never manage to do it externally. Is it something to do ...
0
votes
1answer
22 views

Using a HTTP_PROXY present on another machine

I am sudo on computer A which has SSH access to computer B. A does not have internet access and can only access B. B accesses the internet via an HTTP_PROXY. The HTTP_PROXY for B cannot be used for A ...
7
votes
2answers
6k views

Cygwin Connection closed by ::1

During the installation of Hadoop I am trying to setup CYGWIN and ssh. Installed and ssh also started successfully and setup authorization key as instructed HERE but When I try to connect to the ...
0
votes
1answer
581 views

Ubuntu confused ssh keys connecting to github

I recently installed Ubuntu 13.04, and i add my ssh key to my github account, like always i did. I didn't had any problem to access to my own reports, i could clone my reports, etc... But today, maybe ...
0
votes
3answers
79 views

Ubuntu SSH communcation

I have installed to 2 Ubuntu on VMware and i m trying to communicate between 2 machines using ssh. I made the following changes Updated the etc/host files on 2 machines Master and Slave with ips ...
0
votes
2answers
650 views

Limiting ssh to sftp only?

I use SSH keys to allow passwordless logons to my box. I want to limit them to SFTP only. I have the following in my authorized_keys file which appears to work: command="internal-sftp" ssh-rsa ... ...
2
votes
3answers
251 views

Opaque SOCKS proxying?

There's this website I'm using which allows access based on your IP address, and my university's servers have access. Problem is, when I browse from one of the servers directly, I'm allowed access, ...
1
vote
2answers
90 views

SSH attempts not logging in /var/log/

I have a Ubuntu 12.04 server with a hostnames 'example.org' and 'sub.domain.com', and some IP x.x.x.x, and with fail2ban installed. On one client computer, I can SSH into my server at ...
0
votes
1answer
137 views

How do I go about getting some hosting / server space?

I don't know a lot about hosting, I have mucked around with cpanel before and I'm fairly confident I wouldn't have any problems with domain registration, web hosting etc. But I'm more interested in ...
2
votes
2answers
2k views

Log in with different shell when original shell is “broken”

I managed to do something catastrophically stupid and below rookie level. Clean install on my FreeBSD VPS, then upgraded to version 9.1 (from 9). For some unusual reason, rather than installing ...
1
vote
1answer
3k views

CYGWIN SSHD service not starting

To setup Hadoop I am installing CYGWIN on my 32 bit Windows 7 machine. It has installed successfully without any error. CYGWIN Setup version : 2.774 $ uname -r : 1.7.17(0.262/5/3) SSHD installed ...
0
votes
1answer
419 views

How to make terminal title to stick on Macs

I'm not sure if this is a problem with my mac, of which I'm a noob with, or if it's a setting of the server I'm sshing into. What I'm doing is this: Open a new window in terminal SSH into a CentOS ...
0
votes
0answers
133 views

Authenticity of host can't be established; can I add a key or something?

So I get this message sometimes when SSHing to my home machine from my work machine: The authenticity of host '172.20.60.172 (172.20.60.172)' can't be established. RSA key fingerprint is ...
0
votes
0answers
48 views

ssh firefox endless connection, even when the ssh connection is closed

I want to build a connection to a server with the help of ssh and run firefox(reload website with the addon ReloadEvery). Up to here I got it to work. Now the next step would be to close the ...
0
votes
1answer
76 views

Arrow keys on manpages & installation dialogues not working

I do have a strange problem in my SSH console while working on the server. When I login to the server, I can use the arrow keys as usual e.g. arrow up for previous commands, arrow left/right for ...
0
votes
0answers
397 views

feed data to remote SSH linux script through putty/plink that were launch by vb.net

I am stucked thinking to send data to the SSH linux script while it is running in plink with vb.net. I am able to get the output & surely able to execute the SSH linux script with ...
22
votes
4answers
19k views

How to make ssh tunnel open to public?

Well refering back to this question i am running the command ssh -R 8080:localhost:80 -N root@website.com on mac. Yet the port that is being tunneled is not working publicly. I am running such a ...
1
vote
1answer
113 views

Switch red5 https.port

Our Plesk parallels was installed at port 8443 and since installing red5, we haven't had use of it. I later found out that by default, when a server has ssl, red5 uses port 8443. Is there any way to ...
1
vote
2answers
167 views

How can I make OS X forget SSH passphrase when I close lid/after a certain amount of time?

I'm using Mac OS X 10.8.3 and openssh, basically I have the inverse problem to most people in that I want to make my laptop automatically lock the keychain (specifically my private key) every time I ...
0
votes
1answer
62 views

How to make my IP address appear to have a specific prefix (when connecting to a ssh server)?

I have ssh access to several machines at our university computing center, but they only allow connections from within university network which means I have to go on campus everytime I need to run a ...
0
votes
3answers
148 views

does ssh have a facility to exchange files when already connected?

I never heard this possible, so probably the answer is not. But maybe someone knows better. I know you can use sftp to exchange files between host and remote, and you can both: sftp from host to ...
2
votes
4answers
713 views

Auto propagation of bash settings across many machines?

I need to console to many machines through SSH. Including Linux, Mac, mobile devices, virtual machines. Sometimes I need to login to more than 10 machines in one day. I enjoy my personal .bashrc or ...
1
vote
1answer
72 views

Information flow in Linux - how to tell who is currently active and typing?

I'm currently playing a mafia/werewolves game with my cyber-security class. The basic idea is: on one machine, the moderator starts a server program all the players ssh into the machine and launch ...
0
votes
1answer
377 views

Network access virtualbox linux guest from linux host

I've tried countless settings, read Virtualbox forums and googled for more hours than I'd like to admit. What I want to accomplish is simply to be able to ssh into the guest and be able to view ...