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

1
vote
1answer
396 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 ...
3
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
143 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
37 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
98 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 ...
5
votes
1answer
4k 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
344 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. ...
13
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
4answers
6k 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
278 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
362 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 ...
3
votes
1answer
1k 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
420 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
2k 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
1k 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 ...
1
vote
1answer
309 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
1answer
136 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 ...
5
votes
2answers
979 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
98 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
93 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
1k 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
361 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
168 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
400 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 ...
2
votes
1answer
4k views

sshfs “Connection reset by peer”

ssh -i ~/keys/id_rsa root@192.168.1.201 Enter passphrase for key '/home/avin/keys/id_rsa': Last login: Tue Jul 17 11:01:28 2012 from 192.168.1.240 [root@rsh_management ~]# exit logout it's ok i'm ...
0
votes
1answer
1k views

openssh on Windows 7 server, putty displays “refused our key”

I installed openssh as a service with the help of cygwin using this tutorial I can ssh into localhost from cygwin. However, when I try to do this from putty, I get a "server refused our key" error. ...
6
votes
1answer
2k views

Nohup over ssh won't return

I am trying to do [me@myPc]$ ssh me@server "nohup myBashScript.sh &" My goal is to launch the process on the server, and then immediately return. It is not working: The job is started on ...
6
votes
5answers
7k views

How to edit known_hosts when several hosts share the same IP and DNS name?

I regularly ssh into a computer which is a dual-boot OS X / Linux computer. The two OS instance do not share the same host key, so they can be seen as two host sharing the same IP and DNS. Let's say ...
1
vote
0answers
461 views

SSH server installation on windows

I'm working on a SSH project. For that I setup everything on client side. But I'm facing a problem on my SSH server. I tried some SSH servers like OpenSSH. I installed the OpenSSH server on my ...
0
votes
2answers
3k views

What's missing from my sftp chroot setup?

I've followed a half-dozen different tutorials on setting up chroot for sftp users, but my jailed users can still browse up into parent directories. I suspect my permissions aren't set up correctly, ...
0
votes
1answer
873 views

ssh localhost works, but ssh [external url of localhost] doesn't

I'm trying to work out how to ssh into a machine at work (it runs an RHEL-based distribution with OpenSSH 5.3). I have been given instructions on how to set up keys, permissions, etc., which have ...
1
vote
1answer
1k views

How to restrict SSH root login, but allow some exceptions

in openssh, you can restrict root login (PermitRootLogin no) but can it have an exception?
1
vote
2answers
3k views

I get a permission denied (public key) when I try to scp in ssh

I can login to the remote server via ssh and navigate through it's file system, but as soon as I try to scp a file from the server to my laptop I get an error message. Example: user@server:/file$ ...
0
votes
1answer
3k views

ssh-agent and ssh-add

Does anyone know how to make it so that I don't have to add my keys manually using ssh-add? Every time I log into my Ubuntu server box, I have to start the ssh-agent and then use ssh-add before my ...
2
votes
1answer
2k views

What's the principle behind OpenSSH subsystems (or command= option)?

In OpenSSH one can declare a subsystem in the configuration file (/etc/ssh/sshd_config) or force a command such as svnserve to be executed by including this in the authorized_keys line for a ...
2
votes
1answer
2k views

Is it better to run OpenSSH in cygwin or freesshd (on Windows Server 2003)

I found an article on Petri that explains how to install OpenSSH to Windows via cygwin. I know that OpenSSH is basically the standard SSH server for *nix distros and was wondering if that means it's ...
1
vote
1answer
1k views

sshd_config AllowUsers Should Root Be Allowed?

I am asking here as i do not want to get locked out of my server. I do not want to allow root login to ssh, however if a user enters a "su" command i want them to be able to become root. So do i ...
3
votes
1answer
604 views

Why would anyone install openssh-client instead of openssh-server? [closed]

I installed openssh-server on two pc's. I can connect from both from the one to the other. So if openssh-server sends as well as receives ssh, why would you install the openssh-client, just to make ...
0
votes
0answers
51 views

Switching user in openssh using PAM

I'm trying to write a PAModule which will use compare the inserted username against a file. If the username exists in the file, it will change the username to root (since the username does not really ...
1
vote
4answers
4k views

sshd refuse connection?

For some reason I cannot access from my vitrual machine my remote virtual server at a server farm and instead it gives me this error message: OpenSSH_5.9p1, OpenSSL 1.0.0g 18 Jan 2012 debug1: ...
3
votes
3answers
8k views

One user can use SSHFS, other user gets “remote host has disconnected”

I have two users with valid SSH accounts on a server. Both users can login via ssh successfully. When trying to mount SSHFS, usera can mount with no problems, while userb gets the error: remote host ...
1
vote
2answers
355 views

SSH access via different ports on LAN vs WAN. Is it possible? How to configure?

I want to configure OpenSSH to use port 22 for LAN clients, but to use a non-standard port for all outside addresses. How would this be done? What I have in mind is imagined to be like this: Match ...
1
vote
1answer
2k views

ssh using certificates — can you rename id_rsa file?

When using certificate authentication with ssh, the instructions I have found indicate you should create a key-pair as id_rsa.pub && id_rsa. The public key is then sent to the remote system ...
0
votes
0answers
814 views

OpenSSH Server won't start on Windows 7

I have followed this example to setup an SFTP server on Windows 7. I have done this before on XP and it worked a treat, and the process seemed to go OK on Windows 7 but now I can't get the OpenSSH ...
3
votes
2answers
3k views

1and1 ssh - connection refused

I'm having troubles connecting through SSH to my 1&1 account. When I try to connect with command userXXX@host -p22 -vv I have the following output: OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL ...
1
vote
1answer
267 views

Forwarding X through 2 servers (4 boxes involved)

I'm trying to run a web browser on my desktop machine at work but display on my local laptop. To connect via ssh, I need to go through 2 servers. A: Laptop wanting to display browser that runs on ...
0
votes
1answer
599 views

SSH hangs on exit with background jobs - inconsistently

On different Linux boxes, I see different behavior with respect to SSH sessions hanging on exit when there are background jobs running. If I do exactly the same thing $ for f in 1 2 3 4 5; do echo ...
3
votes
1answer
2k views

Can't write or download to SFTP on Ubuntu Server 10.04

I'm having a problem setting up SFTP with an Ubuntu Server 10.04 LTS x64. I use openSSH with public key authentication, I can login with SSH perfectly with the keys no problem. I can also connect to ...