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

1
vote
2answers
132 views

Alert when blocked computer attempts to connect via SSH

I know how to block a certain Ip from connecting to my computer. I blocked the IP by editing the /etc/hosts.deny file. Then added the line ALL : IP. Is there a way for when that IP tries to connect ...
2
votes
1answer
2k views

Launching programs remotely via SSH on Windows 7

I've installed freeSSHd server on Windows 7. It works fine but when I try launching any graphical executables via SSH (e.g. "C:\Program Files\GIMP 2\bin\gimp-2.8.exe" or start /d "C:\Program ...
2
votes
1answer
826 views

How Does SparkleShare Work With Git?

I haven't been able to find an answer to this anywhere on the internet so I wanted to bring my question here, to see if anyone has an answer! I'm new to the Git scene and I'm curious how SparkleShare ...
1
vote
2answers
1k views

scp over ssh tunnel

I want to copy files from a remote computer (W) to a private host computer (P) via scp. Since i can't connect to machine W directly i use an ssh tunnel over 2 different machines with port 22. What i ...
1
vote
1answer
2k views

PuTTY - Display whole server output (screen command)

I am using PuTTY to administrate a Minecraft server on a remote Linux machine. I do not own the server but I have an SSH account. The server has a console window which can be accessed with the screen ...
3
votes
1answer
1k views

Can I “move” a folder between two shares on a Netgear ReadyNAS without copying?

I have a private folder on my ReadyNAS. It's not technically a share, since it's the user folder of my ReadyNAS user. In this folder I have about a terabyte of video that I want to move to a share ...
4
votes
3answers
3k views

Open file in local text editor from within an SSH connection

I'm not a vim guy. I'd like to be able to open log files in Sublime Text when in an SSH connection from within Terminal. Is there a way I could do this? I'm thinking there must be a command or ...
1
vote
1answer
104 views

Turn off notification about broken connection in putty

When putty gets connection broken (whether by losing connectivity or e.g. by hibernating computer) it displays annoying message box "Network error: Software caused connection abort". Is there some ...
1
vote
3answers
2k views

Why is SSH not honoring my authorized keys?

I have 2 laptops at home, both running Ubuntu 12.04 (Desktop), and both using the same NetGear wifi router. I used a technique called "MAC binding" on one of the machines so that the router always ...
0
votes
1answer
291 views

How to create an SOCKS5 proxy with SSH that only uses IP and PORT

I have Ubuntu 13.04 32-bit running in my Virtual Machine in VMware Workstation 9, I'm trying to make an SOCKS5 proxy with SSH which can be accessed from the host only using IP and PORT number, I know ...
2
votes
1answer
100 views

Byobu kills windows at will

I use byobu on a virtual server (uname -a shows Linux mezgrman 2.6.32-5-openvz-amd64 #1 SMP Mon Feb 25 01:16:25 UTC 2013 x86_64 GNU/Linux). When I log in to the machine via SSH and byobu isn't ...
2
votes
1answer
143 views

Why am I prompted for a password when using SSH to connect to another server?

I installed a fresh copy of CentOS 6.4 on two boxes, and Im trying to setup password-less SSH from server1 to server2. On server 1, I generated a key with ssh-keygen, transferred it to server2, put ...
0
votes
0answers
24 views

How can I get a *diiferent look* when I'm working on a remote server [duplicate]

Preamble (feel free to skip) This is question is (mostly) a duplicate of: How can I change my (Linux) terminal's appearance when I SSH in to a remote machine? Yes, it would make more sense to ...
1
vote
2answers
7k views

How do I automatically gain root access with Putty?

Putty is set up to run like: putty.exe -load mysession -l myuser -pw mypass But it logs me in as myuser. For root access I need to type in the console: sudo -i Then it asks for my password ...
1
vote
1answer
916 views

sshd service listening on multiple ports

Well, I need use multiple and distinct ports where sshd will be listening, for distincts clients. Each client connect a different ssh port in real time. Can I put sshd service listening on multiple ...
0
votes
1answer
4k views

How to enable sudo commands over SSH without asking password?

I have server A and server B (both Ubuntu 10.04 LTS) doing different tasks. Server A needs to poke Server B, which generates a file and scp's it back to server A when done. This is all in-house and I ...
2
votes
2answers
9k views

Remote desktop with TeamViewer, a connection could not be established

I'm trying (for the first time so it could be something obvious) to connect to a remote ubuntu desktop that I have just purchased on a dedicated server. I'm trying to connect to it from an ubuntu OS ...
1
vote
1answer
175 views

Can emacs be used across multiple screens?

I would like to use emacs across multiple monitors: one monitor would have code the other would have the R session that will be processing the code submissions. I am in a Windows machine logging into ...
3
votes
4answers
7k views

SSH remote command no reading all environment variables

I have declared some "PATH" variables in the ".bashrc" file of a remote machine. When I login to the remote machine, all these "PATH" variables work fine. But when I do a "ssh user@remote env", the ...
0
votes
0answers
161 views

Why are tasklist results different when run locally vs over ssh

I have a windows box setup with cygwin and an ssh server that has been working fine, however today I came across a command I am trying to use that returns different results based on whether it is used ...
4
votes
3answers
2k views

How can I change my (Linux) terminal's appearance when I SSH in to a remote machine?

I sometimes find myself with several terminals open, some of which are ssh-ed in to other (production) machines. If I run a command like "drop all tables in the database" on one of those ssh-ed ...
4
votes
2answers
5k views

ssh through a router without port forwarding

I have a linux server, and I want to put it in a home network behind a router. I need to ssh to this server sometime from outside, but I don't want to set up port forwarding because I don't have ...
0
votes
5answers
5k views

Cannot SSH log into Debian virtual machine from windows 7 via Putty

I have followed a tutorial from this website http://jtreminio.com/2012/07/setting-up-a-debian-vm-step-by-step/. I am up to the point in the tutorial where it says to login via SSH. I have installed ...
2
votes
2answers
4k views

why is sftp rmdir not working?

I'm trying to remove a directory with lots of files and folders from my private server space. I'm logging on via SFTP fine; I can access the entire directory no problems; I can even delete individual ...
3
votes
1answer
645 views

Can a putty terminal window be made viewable in a web browser?

I often remotely connect via putty to client computers over ssh. I would like to share my putty session so the client can see the commands I'm running from a web browser. Is this possible to do? ...
1
vote
3answers
183 views

Keep GUI app running after vncserver shutdown

I am trying to do the following: Connect through SSH to an Amazon EC2 instance Start a VNC server Connect through VNC Start a GUI application and log in Kill the VNC server but keep the GUI ...
0
votes
1answer
101 views

ssh: authenticate only with rsa key

I am setting up ssh from OS X to a Ubuntu virtual machine (Virtual Box). I tried to set up key-based authentication, following the instructions here. Now there is a problem. When my VM server is up ...
2
votes
3answers
572 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
140 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
311 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
236 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
402 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
771 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
612 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
709 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
153 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
252 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
877 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 ...