OpenSSH is one of the most popular implementations of SSH used today and available by default in many Linux and Unix-like operating systems.

learn more… | top users | synonyms

0
votes
1answer
84 views

OpenSSH rejects private key passphrase

I'm on Ubuntu 12.04. When I try to connect to our server ssh user@server -p 1234 -i ~/path/to/my/private-key it asks me 3 times for the private key's passphrase and finally fails, though I always ...
3
votes
2answers
1k views

How do I forward a SSH port from any interface to a specific IP?

Here's the scenario: I have a desktop, running Windows 7 Ultimate. This desktop has VMware Workstation on it, and a virtual machine running a custom linux, that has OpenSSH installed and working. ...
0
votes
1answer
814 views

CentOS 6 sshd: Logging in works, but still claims “access denied”

I have just installed a plain CentOS 6.3 system. I enabled sshd, and try to connect with Putty. This works, but here is what I get: login as: user Access denied user@192.168.1.7's password: Last ...
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 ...
0
votes
0answers
175 views

Connecting SSH with OpenSSH key

I have a CentOS 6 server and I want to connect to it with a private key. On Windows, I use PuTTY Keygen and paste the public key in my server, in .ssh/authorized_keys2 (also tried authorized_keys, ...
0
votes
1answer
182 views

ssh authorized_keys on two machines

I have two machines with the same .ssh/authorized_keys (verified since (1) one is a copy of the other and (2) the md5sums of the file on both machines match) and the same /etc/ssh/sshd_config ...
2
votes
2answers
34k views

SSH Permission denied on Correct Password Authentication

I could successfully SSH into my machine yesterday with the exact same credentials I am using today. The machine is running Centos 6.3. But now for some reason it is giving me permission denied. Here ...
2
votes
3answers
4k views

SSH public keys not working

I've spent a few hours trying to solve this, but have gotten nowhere. The server is running CentOS 6 and using OpenSSH. The client is running OpenSSH too. I created a public key on the client (my ...
1
vote
1answer
837 views

Need help tunneling Remote Desktop (RDP) over SSH using OpenSSH

So heres my set up. The picture isn't "Exact" I have modified it, but it gives you an idea. The tools I am using are: PUTTY OpenSSH CYGWIN Remote Desktop VMware vCenter Server Version 5.1.0 ...
1
vote
1answer
2k 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 ...
3
votes
2answers
599 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 ...
2
votes
1answer
62 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 ...
2
votes
2answers
218 views

Cannot scp file to an EC2 instance that I can ssh to

I have two EC2 instances that were created from the same AMI, which was created from the Amazon Linux AMI. These are running mysql in a master-slave configuration. The security group ("db") is ...
1
vote
0answers
416 views

ProxyCommand with sudo

I'm trying to set up SSH so that I can easily log into an server that is accessible only via a sudo to an intermediate server. From the command line, logging into it is of the form: sudo -u admin ...
4
votes
2answers
2k views

Cannot connect to my mac via SSH

I want to open a connection to my mac (10.8) via SSH. An SSH-server is installed by default on OSX. Remote login is enabled, so the service is running and I can connect to to localhost via ssh. ...
2
votes
3answers
153 views

How to prevent a user from viewing the entire file-system?

I've set up SFTP/SSH so that a user can only put to their home directory, however, they can still cd to all other directories and get files that they see. How can I prevent this? EDIT: My ...
1
vote
0answers
278 views

trying to remote in to work computer via an ssh tunnel [closed]

Trying to remote into a windows machine from a mac using their instructions: On your home computer, install and open putty (http://www.putty.org/) Enter a name into the Saved Sessions field. Enter ...
1
vote
2answers
796 views

How can I SSH into home computer from internet

I have a setup like follows I have a router that connects to the INTERNET, where my ISP provides dynamic ip two systems are connected to the router with locl ip 192.168.1.2 and 192.168.1.3 the ...
0
votes
2answers
27 views

OpenSSH connection doent display Path or Name

I recently re-installed a Ubuntu server (12.10) and I happened to have a minor issue with OpenSSH. Once I created some new Accounts and logged into those the terminal always replys with "$". ...
1
vote
1answer
1k views

Stop ssh tunnel (stop listening on port without killing process)

In an ssh session, one can start tunneling with the keystrokes ~C and entering (e.g.) -L80:localhost:80. However, is there any way to stop tunneling on that port (short of killing the process)?
2
votes
1answer
1k views

Does the right half of the rsa public key matter?

In a public key file "id_rsa.pub" generated by ssh-keygen, does the part after the == matter? I ask because when I changed "root@somedomain.com" to "root", it seems to still work. More generally, I ...
1
vote
1answer
124 views

How do I check if a process (Firefox) has quit?

I am using Ubuntu 12.04 64-bit, with all updates installed. I made a simple shell script that starts a SOCKS5 tunnel and launches Firefox (with correct network proxy settings) to use the tunnel. How ...
1
vote
1answer
60 views

Are there situations in which ssh -t shouldn't be used?

Working within a framework commands are issued to remote machines using ssh. Recently the -t option was added to the command in order to get it to work properly with sudo. However this option will ...
2
votes
1answer
439 views

cygwin rsync over ssh very slow

I have 2 machines running Windows Xp SP3. I have cygwin installed on both, version 1.7. I have rsync and ssh installed on both, and configured using default settings as per ssh-host-config and ...
1
vote
1answer
294 views

Configure OpenSSH to use a non-windows account for authentication?

Is there anyway to configure OpenSSH to use a non-windows account for authentication? I want to create a kind of virtual user, where I can login with credentials I've created specifically to login in ...
2
votes
3answers
1k views

How to configure ssh client to automatically execute commands on connect?

I frequently connect to servers through a user I share with other colleagues, every time I connect to each server I execute a couple of commands like bash, set -o vi, etc. I would want to know if ...
1
vote
1answer
130 views

Run SSH trough a proxy

I have a question. How can i run SSH trough a proxy or a SSH Tunneling Protocol? For example i have a computer(Ubuntu) with ip eg. 123.123.123.123 and i want to connect to my server trough a proxy ...
1
vote
1answer
36 views

Setting up ssh group keys without affecting ~/.ssh/config in Linux

I have to setup an ssh group key used for publishing to a remote git repository. As git (as well as I presume many other programs) don't allow defining a flag lag ssh -i the information which key is ...
0
votes
1answer
91 views

ssh key reset every computer restart

Every time I restart my computer I have to ssh-add my ssh key. I already have ssh key added on github. Does anyone know how to fix it? Thanks.
1
vote
1answer
2k views

How to deal with ssh's “WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!”? [duplicate]

Possible Duplicate: Ignore known-hosts security in SSH for some addresses I often need to login to multiple remote stations that are just placed to the same static IPs for me. SSH complains ...
4
votes
1answer
3k views

ssh config under cygwin

I have Cygwin installed on Windows 7. I made default install. I would like to use ssh config file (~/.ssh/config) to set host and options for connecting. Normal ssh command is not able to find the ...
1
vote
2answers
301 views

OpenSSH does not accept public key?

I've been trying to solve this for a while, but I'm admittedly quite stumped. I just started up a new server and was setting up OpenSSH to use key-based SSH logins, but I've run into quite a dilemma. ...
6
votes
1answer
2k views

how to disable SendEnv variables set in ssh_config from ~/.ssh/config

I couldn't find that anywhere so I'm wondering am I the only one hitting such issue. By default ssh on Red Hat and Debian at least has a ssh_config with SendEnv option passing LC* and LANG variables ...
3
votes
3answers
4k views

Cygwin sshd did not start due to a logon failure

After a cygwin sshd install, sshd service fails with: Error 1069: The service did not start due to a logon failure I try to give cyg_server standard user and admin access. The error is the same ...
0
votes
1answer
173 views

Mac OSX OpenSSH file Transfer not working

I'm currently trying to get a file on my school account from home on my mac using SSH. I have the hostname and I can get in just fine, but transferring files is like smashing my head into a wall over ...
1
vote
1answer
265 views

Is there an equivalent to ssh-copy-id with OpenSSH in Powershell?

I'm using PowerShell and have OpenSSH 4.6 installed. I'd like to use ssh-copy-id so I can login using a key without doing through the manual process of copying keys to servers. Is there an equivalent ...
1
vote
1answer
972 views

openssh in Windows 7, run ssh-add once for all cmd instances

I have installed openSSH as part of the latest cygwin distribution. My goal is to use the ssh-agent from native window console (cmd) in order to login passwordless in a various number of Linux ...
2
votes
1answer
324 views

Why is pasting into SSH so painfully slow?

Most of the time whenever I post reasonably large chunks into an SSH terminal, it will absolutely crawl through it at a rate of something like 1000 characters every 20 seconds; sometimes practically ...
1
vote
1answer
1k views

How do you set the HOME path with SSH on Cygwin?

I have a bunch of users that I'd like to set the default HOME directory for so that when they log into SSHD running on Cygwin on Windows Server 2008, they get set at a specific directory ...
2
votes
2answers
806 views

networking with ssh thru wireless

I am using Ubuntu 12.04 64bit on my desktop and my laptop. Have install openssh client and server on both of them. My desktop is connected to ADSL2+ Router TD-8840 with wired connection and has ...
0
votes
1answer
234 views

How to easily bounce arbitrary connections through known SSH server, to avoid port firewalling

I was looking for a method to connect to arbitrary SSH servers through a known SSH proxy, without having to hardcode those target servers. For example, let's say that I cannot access github.com from ...
1
vote
0answers
98 views

Can I get OpenSSH's sshd to accept a login for a non-existent user?

I'm trying to set up sshd to do some funky things on a dedicated server. (Which is to say, don't worry about why I'm asking such a strange question; I'm just experimenting to see how I can abuse ...
4
votes
2answers
759 views

cygwin ssh shortcut on windows desktop

I have multiple servers that I need to remote into. I prefer Cygwin over Putty to do so. Anyhows - the process of opening my cool Mintty window and then typing the following commands takes too long. ...
2
votes
2answers
86 views

Generating SSH Keys on the Server

I have set up sshd on a Linux server and managed to log in via keys generated using ssh-keygen. However, I have made the following observation: When I generate the key pair on the client and copy the ...
1
vote
1answer
85 views

What is the highest SELinux privilege(role)?

I want to know what role is the highest role of SELinux. If I am mistaken, can anyone tell me what roles are available by default in SELinux?
2
votes
1answer
796 views

Convert ssh public key to gpg

I have someone's ssh public key and I want to encrypt a message with it so that he is the only one who can read it. However, a simple import with gpg --import doesn't work because the format is ...
1
vote
2answers
2k views

Create a new known_hosts file for openSSH in windows

So i have OpenSSH in windows 7 at a university and i am basicly having this problem: When i first use SSH it is trying to create the known_hosts file on my university network drive H: But this is ...
2
votes
1answer
332 views

Is there any way to recover an environment variable?

I recently installed openssh on my Windows 7 machine. The install overwrote my Path variable and blew away all of the other paths I use in the command line. I probably have 50 paths in there and it is ...
2
votes
1answer
134 views

Having trouble logging onto my ssh server

I feel pretty dumb asking this but I have been working on this for a couple days now (on and off) and I cannot figure it out. I have just installed lubuntu on my machine and I can ssh locally onto it ...
1
vote
1answer
326 views

ASC key file, login on cent OS using WINSCP

My system admin given me a file with extension .asc. to loging to the Server, but i am unable to login , as WINSCP or putty says this key is in different format, is another tool like wnscp and putty ...