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

7
votes
2answers
3k views

Sending key via ssh or using mouse to activate Target Display Mode?

Is it possible to send a keystroke via SSH? I want to be able to send CMD+F2 via ssh from/to Mac OSX. If not possible a mouse solution would also be good. The reason I need this is because I only ...
2
votes
3answers
569 views

Is it insecure to leave open an SSH connection?

I am running an Ubuntu Virtual server at a remote location, and several people have SSH access to the server for reasons of web-dev and other various things. When I setup the server I set various ...
2
votes
1answer
546 views

SSH Session Started from Here Doc Does Not Exit Properly

SSH session doesn't terminate and give the tty back when executed inside a here document. Below is the code snippet that's inside my shell script: ssh -t -t root@$HOST_ADDRESS <<TERM_STRING cd ...
0
votes
1answer
190 views

SSH Log In Closes After Password Entry

I just bought my first VPS that I got a smoking deal on. It is running Ubuntu 11.10 X64. I set up a Minecraft server on it to see how it would handle it, and ending up created a minecraft account on ...
3
votes
2answers
302 views

ssh & ping to target works from desktop but not from laptop?

Now where is the problem if ssh & ping to target works from desktop but not from laptop ? I have been able to ssh to my target from my DESKTOP using following command :--- Target IP is fixed in ...
1
vote
0answers
268 views

Windows PowerShell doesn’t use my SSH keys

I have a Git repository hosted on Bitbucket. I can connect to this using Git Bash terminal, which uses my public key defined in my H: drive (network drive), but if I try the same from Windows ...
1
vote
1answer
3k views

Cannot successfully configure OpenSSH via CYGWIN in Windows 2008

I need help configuring OpenSSH on Win2008 via CYGWIN! THANKS in advance! I am trying to configure an OpenSSH server on Windows Server 2008 Datacenter via CYGWIN. I have installed and configured ...
0
votes
1answer
222 views

Why ssh “password” prompt takes too long to appear?

When I try to connect ssh it takes too long (almost 2 minutes) to appear password prompt. Why does this happens?
1
vote
4answers
3k views

“Wrapper” ssh script freezes when executing remote command

I am running OSX Mountain Lion and the remote server is CentOS 6. I have several scripts on my local machine that I want to run on the remote server and to that end, I thought to write one script that ...
1
vote
0answers
316 views

Grey Screen when launching Debian 6 through Chicken

I'm trying to connect my mac to my Debian 6 VPS, but I only get a gray screen, as shown in the screenshot below. I followed the steps on this tutorial recommended by the VPS company. I'm using ...
0
votes
3answers
398 views

Execution of the command of ssh with open/root/.ssh/id_dsa failed error: Permission denied

Working it agrees http://www.ibm.com/developerworks/ru/library/l-hadoop-1/ at first I entered into the user of hadoop by means of a command root@one: /volumes# su hadoop The invitation was as a ...
1
vote
1answer
148 views

SSH Tunnelling troubleshooting

I am using git bash on my windows computer. I am trying to set up an SSH tunnel so I can access databases within MySQL Query Browser. The following works: > ssh root@staging This uses my public ...
1
vote
2answers
485 views

Play a sound or chime through ssh

I've a nice question for you all. I'm performing some numerical analysis though SSH connection with my Linux machine. Since each numerical analysis lasts for 3-4 minutes during them I'm doing some ...
0
votes
1answer
47 views

synchronize folders which are located on different servers [duplicate]

Possible Duplicate: Synchronise system changes on two computers? how to synchronize two folders which are located on different servers. I need that if someone put any data on folder A then ...
2
votes
1answer
174 views

XFCE: Show all ssh terminals

My XFCE desktop has multiple workspaces, and I have terminals open across the workspaces, each terminal containing a ssh session. I usually have around 10 SSH sessions open at a time, I was wondering ...
1
vote
2answers
2k views

Linux commands “id” and “whoami” dependencies (for chroot environment)

I have a new openssh (openssh-server-6.1p1-4.fc18.i686) chroot environment in Fedora Core 18 and puts users in a chroot directory structure with a (bash) shell. During troubleshooting SELinux has been ...
12
votes
2answers
1k views

SSH into Linux machine over internet

I recently setup a Linux machine in my dorm and I would like to be able to access it via SSH. I'm on a college campus that has several subnets to manage the machines connected wirelessly to the ...
1
vote
1answer
46 views

Accessing Process Messages after Dropped SSH Connection

I was doing a make operation over ssh, but the connection was dropped, so rather than using ps -a | grep make, i was wondering if it was possible for a terminal window to bind what its showing to a ...
1
vote
2answers
781 views

PuTTY Connection refused remotely

I have a Debian device on my local network (Raspberry Pi, but that's not important) and I wish to SSH from a Windows PC. When I try to connect to it using the local IP, everything works fine. But I ...
2
votes
2answers
1k views

How do I push to GitHub https repos using my ssh key?

I can push to git@github.com:wting/repo.git links without a password prompt since it's using my ssh-agent. However when I push to https://github.com/wting/repo.git it always asks for username and ...
3
votes
2answers
3k views

Why am I not able to SSH into my laptop?

I upgraded to Mountain Lion and something weitd is happening with accessing my computer via SSH. I am able to SSH into other boxes from my computer but I am not yet able to SSH into my laptop from ...
0
votes
0answers
229 views

Is it possible for Windows' command prompt to display the correct charters when connected to a linux machine via SSH?

I'm sorry for the long question, but I wanted to make sure it got the point across. The thing is, that no matter what I do, when I use a linux-based console application that uses ncurses, via SSH ...
0
votes
2answers
4k 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
36 views

creating ssh file [duplicate]

Possible Duplicate: Can I create an SSH user which can access only certain directory? I have a testbed of 50 motes, mounted on the cyling of the lab. I want students to be able to access ...
0
votes
1answer
43 views

Can you offer VNC connections through a SSH tunnel or session you started?

Hopefully this is easier to solve than I think. I have two computers [A, B]. A cannot start network connections to B, but B can start network connections to A. This is because of some firewall and ...
2
votes
3answers
156 views

PuTTy and SSHing into multiple servers

Background I have a bash_profile statement that dynamically sets my display variable (Im on wifi most the time) for when i need to run a few x windows programs off of our servers. if [ ! $DISPLAY ] ...
0
votes
1answer
2k views

Connecting to SSH from behind an HTTP proxy

I'm behind a corporate network with an HTTP proxy. I also have an SSH server to reach on port 22. I don't have any kind of control over that server: I'm not root and even if I were I'm not allowed to ...
1
vote
2answers
776 views

SSH Config setting default user for multiple hosts under the same domain + aliases

This thread: In your ssh config is it possible to have one host entry for multiple machines on the same domain explained the 'aliases' part of my question, I was wondering if it's possible to set ...
3
votes
1answer
2k views

Allowing multiple users SSH access to Ubuntu instance running on Amazon Web Services

It seems as if similar questions have been asked before, but the issue that I am having hasn't been raised or answered as a part of the answers provided to the other questions. So... I'm using an ...
0
votes
1answer
826 views

How could I run Sublime Text 2 without X server?

I'm using Sublime Text 2 and it's an awesome editor. Sometimes I'm on a slow connection editing remote files and X11 over SSH is too damn slow to be of any use. I could only run Sublime on the remote ...
0
votes
2answers
526 views

ssh -R then expose the local port over HTTP?

Here's my scenario, I have two machines, A and B. A is behind a VPN, so B can't get to A. I have a web server: machine_a$ curl localhost:8088 "hello from machine_a" I have executed a remote SSH ...
0
votes
1answer
594 views

Running tcpdump on remote machine with no tty using ssh

I'm trying to start tcpdump on several remote machines to perform some network analysis with a script, but I'm failing to run it correctly. The command I would like to use is: ssh user@host ...
-6
votes
1answer
410 views

Command to list all files in a directory and export result to a text file? [closed]

How to list all files (order by name) in a Linux directory/subdir, and then export result to a text file?
-1
votes
1answer
557 views

Ubuntu how to start x server but not the GUI desktop

I am planning to keep the server running in text mode, but the client can ssh -X to the server and run GUI applications. How to start X server but not to the GUI desktop.
2
votes
3answers
136 views

How to enable passwordless ssh for a particular program only

I have a requirement where I want that user of my C++ program is able to do passwordless ssh on to a particular machine but the same user should not be able to do ssh on the same machine through a ...
1
vote
1answer
10k views

Access Denied While Logging In Via SSH (Putty)

I'm having trouble logging in to my server via ssh (putty) on a new username that I created. During the initial installation of the server, I setup a username of "admin". While logged in as "admin" I ...
1
vote
1answer
176 views

Text no longer shows after killing program, using tmux

I'm running a Minecraft server and whenever I "sh rtoolkit.sh" to start the server, everything works fine however once I stop the server and return to the command line ready to enter a command, text I ...
3
votes
2answers
716 views

Keep alive with MyEnTunnel or other SSH-background tunnel app

I'm successfully using MyEnTunnel to forward traffic to a remote SOCKS-server. If I don't use the tunnel for a while the connection seems to turn stale, but doesn't fail, hence the browser waits for ...
0
votes
1answer
420 views

How do you set up a VirtualBox CentOS 6.3 VM . . . in order to access it via SSH from a remote host (not host to guest)?

What should I do? I installed VirtualBox 4.2.6 I installed CentOS 6.3 It's powered on # ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
4
votes
4answers
3k views

Setting up SSH/Git on Cygwin yields “Bad permissions on ~/.ssh/config”

I'm attempting to setup Git with OpenSSH under Cygwin. I almost got everything setup. I have the agent and public key and all that.. but now I get this really weird error: $ git pull -u origin master ...
1
vote
1answer
370 views

Unable to access ssh server over WAN

I seem to be having some issues with my dd-wrt router and port forwarding. It seems like it should be clear as day - just put map the incoming port to the destination port and specify the IP. I picked ...
1
vote
3answers
4k views

How to grep logfile via SSH on multiple servers?

Sometime, I need to find out specific log content(such as api call) from log files, those log files exists in several Linux servers. I have to use SSH to login every server and use grep searching the ...
1
vote
1answer
91 views

Blocked out of server because I don't have access to usual ssh public key, any solution?

I momentarily don't have access to my usual computer and would like to work on my personal dev server (Raspberry Pi) as usual using ssh. My problem is I secured it so you can only log in it with my ...
1
vote
1answer
161 views

ppp0 to eth0 SSH tunnel routing

I have Debian based ARM board on which I have Ethernet controller eth0 with static IP 192.168.1.10 and 3G usb modem connected to the internet (ppp0). Ethernet controller is connected directly to other ...
2
votes
2answers
770 views

Copy ssh keys from one server to another server

I have a server (lets assume its ip be a.b.c.d) which allows users to login via ssh. Now I want to change the physical machine keeping the ip same. So that the new machine is still accessed by a user ...
-1
votes
2answers
107 views

SSH Linux server does not execute all commands properly

I connect to my webserver with Putty through SSH + password and wanted to generate a pair of keys to do the login for me. Unfortunately, the command gets somehow 'stuck'.. as you can see on the ...
2
votes
2answers
777 views

SSH Keys Still Prompts for Passphrase

I recently generated ssh keys, copying my public key to the server I need access to and keeping my private key in my ~/.ssh/ directory. Everything works great but ssh prompts me for the passphrase ...
4
votes
1answer
3k views

Starting Windows GUI program in Windows through Cygwin sshd from ssh client

I would like to ssh into my Windows box running Cygwin sshd and run the Windows GUI application in that Windows box. I don't want X forwarding. e.g. From ubuntu-server terminal, I ssh into Windows ...
0
votes
1answer
388 views

Networking of two computers over wifi+ethernet

I have two computers, both running Arch Linux. My desktop is running headless, constantly plugged into the ethernet jack in my room. My university has a campus-wide wifi network that I can use with ...
2
votes
1answer
65 views

ssh not working with yes

I had to solve a fringe case lately where I had to add a number of server fingerprints to a user's known_hosts (the authorization is performed with a keypair). I thought the easiest solution would be ...