0
votes
1answer
10 views

Hide ssh version

I did a tcpdump when connecting to my server over ssh. First thing I see is: SSH-2.0-OpenSSH_5.3 Is it possible to make the server not send it's ssh version?
1
vote
0answers
23 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
1
vote
1answer
21 views

Howto force ssh to use a specific private key?

With ssh -i <private key filename> you can instruct ssh to use an extra private key to try authentication. The documentation is not clear on how to explicitly use only that key.
0
votes
0answers
18 views

Unable to connect to Cygwin from Mac OS X by ssh

I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error: ./ssh username@hostname -v OpenSSH_6.6, OpenSSL ...
0
votes
1answer
18 views

What is the public key file that is generated by PuTTY?

If I'm using the PuTTY key generator to create a public/private key pair, there is a button to "Save public key" like so: However OpenSSH doesn't accept the format of this public key file, at least ...
0
votes
0answers
21 views

ssh_exchange_identification after few attempts

To help find diagnose a ssh issue with a gitlab server, I've written the following script #!/bin/bash while : ; do ssh -v git@example.com || exit 1 done After few successful iterations ...
1
vote
2answers
50 views

how to speedup ssh-keygen

We are using beaglebone based custom board. In one of the init script we are generating ssh keys but it takes around 7 seconds to generate the ssh-keys. How do we speedup the process of generating ...
0
votes
0answers
43 views

Android SHH tunneling through school Wi-Fi

Ok so I'll try my best to explain the situation at hand here. My school recently got a new web filter that blocks literally, everything. I can't use Google Drive or anything that I need anymore. Our ...
-1
votes
1answer
43 views

Prevent multiple ssh-tunnel to same port and ip

Im creating a few ssh-tunnel connections to a remote system with this command: ssh -R port:localhost:2222 user@ip If this command is now execute multiple times, it will create every time a new ...
0
votes
1answer
51 views

How do I specify the key exchange method in OpenSSH?

I'm trying to understand how OpenSSH decides what key exchange method to use. What I don't see is how to specify the method. In addition, I know every ssh server/client is required to support at least ...
0
votes
1answer
39 views

Forcing ssh connection to use rsa key authentication (no root)

Is there anyway as a standard user to be able to force all login attempts to my account to use rsaauthentication? I have a school linux login but obviously I don't have root access or sudo access, is ...
1
vote
1answer
55 views

Mass creating users who can login via ssh keys but not with a password

I am trying to mass creating users that can login via ssh private/public keys but which can not login with users (kind of like using newusers but I want to make sure users will not be able to login ...
1
vote
1answer
47 views

What ProxyCommand to use for ssh host-based authentication relay?

I have a host $HOST which I can (only) access by sshing to a host $BASTION and then, by host-based authentication, connect to with ssh $HOST. $HOST does not accept access by for example public-key ...
0
votes
1answer
31 views

SSH communication to go through Tor

I've been trying this more specifically the SSH: Method 3 (socat). At the end of the method it says: If you want every SSH communication to go through Tor, you can even say : Host * ProxyCommand ...
1
vote
1answer
19 views

OpenSSH client refuses to use a new key file

After generating a new ssh private key (id_rsa) on one server and distributing it across a server network, one server is failing to use the new key, and falls back to password authentication instead. ...
0
votes
1answer
18 views

What is the keyword in .ssh/config for tunneling in the background?

In command line option, we can specify -N -f to let it run in the background. How about the identical keywords in .ssh/config? Instead of doing ssh dest -N -f -L 1337:localhost:1337 I would like to ...
0
votes
0answers
21 views

Connecting to Windows with OpenSSH using External IP

HELP I have been working on this issue for a few days now and its really getting frustrating, any help would be greatly appreciated. I will start with my setup. I have AT&T U-verse which comes ...
0
votes
4answers
86 views

Remote SSH to VirtualBox instance

I have an Ubuntu 13.10 instance running on a remote VirtualBox that I need to maintain for someone. I'm trying to figure out how I can SSH into this instance. Ubuntu has OpenSSH installed, but so far ...
0
votes
1answer
31 views

Why my reverse ssh is closing when I try to connect to it?

I'm using a reverse SSH tunnel on Debian with openssh-server and autossh: something like -R 1234:localhost:22 with a monitoring port also set. Generally, it works well, but I'm having the following ...
1
vote
0answers
114 views

Can I use a password ssh login on a passwordless windows 8.1 account? (Cygwin)

I recently installed Cygwin + OpenSSH (package) on Windows 8.1. However, I'm only using one passwordless Windows account on that machine, but I would like to login with SSH remotely with password (for ...
2
votes
1answer
49 views

OpenSSH ~/.ssh/config host-specific overrides not working

I've tried setting up my ~/.ssh/config file with the help of this guide. However, the host-specific User override has no effect and ssh tries to connect using the global username instead of the ...
1
vote
1answer
59 views

OpenSSH, FreeBSD screen overwrite when closing application

I installed a fresh FreeBSD 10 on a VM and connected via SSH and I've noticed that whenever i close a program (e.g., htop, top, nano etc) the contents of the session gets overwritten. This doesn't ...
0
votes
0answers
31 views

Questions to ssh connection with keys

I think of using sftp as transfer for backups and using keys instead of passwords. I understand it works this way: I've got 2 servers: server1 and backup I want server1 to connect to backup and ...
1
vote
1answer
560 views

Forwarded connection refused by server: Administratively prohibited [open failed]

I sometimes use PuTTY as a SOCKS proxy, and I've noticed that sometimes, when the web-page I'm trying to connect to (from the web-browser) does not exist, and requires a prolonged timeout, the shell ...
2
votes
1answer
897 views

git pull does nothing / git push just hangs / debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

I had an issue in ubuntu 13.10 and 12.10 where attempting to connect to github (git clone / pull / push or anything) would fail with no output. I checked my /.ssh directory for config and any ssh ...
0
votes
0answers
160 views

OpenSSH on a Windows box using domain authentication: can't logon

On my windows 2008 box I just did what the steps said: mkgroup -d >> ..\etc\group mkpasswd -d -u username >> ..\etc\passwd In my passwd file, I see my user like it's been pulled in from the ...
0
votes
0answers
34 views

passwordless ssh-keygen not working [duplicate]

I've seen many pages on ssh problems similar to this but so far none of them answer my question. I've been trying to set up passwordless ssh for a while now with little success, I'm creating a blank ...
0
votes
0answers
66 views

authorized_users permissions while using a symbolic link

I recently had to replace my primary drive because some sectors were going bad and could not be recovered. Anyways, In an effort to get the system back up and running quickly, I made my /home dir a ...
1
vote
0answers
57 views

Configuring SSH server to require RSA key

I'm trying to configure my SSH server to require users to have an RSA key. To do this I have the settings in sshd_config set to RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile ...
1
vote
1answer
245 views

ssh <username>@<host> How do I find the user name and host name of my local machine?

I just installed openssh on my Xubuntu machine using this guide. It's installed successfully which I checked by doing ssh -v localhost. Now I want to ssh into this machine from my mac. I have my ...
3
votes
2answers
106 views

How can I get the root account to generate an acceptable ssh key?

On an ubuntu machine I did the following: ~$ sudo su - [sudo] password for jamie: root@mydomain:~# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key ...
0
votes
1answer
808 views

Win7 OpenSSH config: no address associated with name

I am using OpenSSH on win7. My home dir is C:\Users\JG, and inside that dir I have the file C:\Users\JG\.ssh\config, with these contents: Host <redacted server ip here> HostName ...
1
vote
1answer
576 views

ssh localhost password-less Login not working

I have been trying to ssh localhost into the same machine. I copied the generated public key into the authorized_keys file. It still doesn't work. I have spent hours on trying to find a solution to ...
0
votes
1answer
157 views

How do I enable auto-logout of Interactive ssh logins after one hour

I have requirement where I want my ssh seesion to target will logout after one hour,but currently leaving an ssh session to target board idle does not get auto logout after one hour. Below is what is ...
0
votes
0answers
20 views

SSH hangs at SSH2_MSG_SERVICE_ACCEPT received [duplicate]

Opened another question concerning this issue but it seems to have gone dead. I can't connect to anything; every ssh connection hangs indefinitely at SSH2_MSG_SERVICE_ACCEPT RECEIVED. I'm on OSX ...
1
vote
1answer
595 views

SSH Constantly Hangs at SSH2_MSG_SERVICE_ACCEPT Received

I'm having problems with SSH. I can't connect to anything; every connection hangs indefinitely at SSH2_MSG_SERVICE_ACCEPT RECEIVED. I'm on OSX 10.6.8. I'm thinking that it's a problem with my SSH ...
0
votes
1answer
226 views

Directive 'ChrootDirectory' is not allowed with new OpenSSH

I am trying to set up chrooted SFTP access but OpenSSH is giving this error: /etc/ssh/sshd_config: line 94: Bad configuration option: ChrootDirectory /etc/ssh/sshd_config line 94: Directive ...
0
votes
0answers
24 views

Linux load multiple key pairs for entire session

I'd like to load multiple key pairs for multiple AWS Ubuntu instances all running Open SSH so they are available for my entire session (until I log out or restart). I've been running this command ...
0
votes
0answers
110 views

OpenSSH (Windows) does not forward X11

I'm running Ubuntu 13.04 in VM and I wanted to do X11 forwarding to my host (Win 8), so far it works fine using PuTTY and XMing server for Windows. But I am curious why it doesn't work if I use ...
0
votes
2answers
328 views

generating keys for SSH

From the Open-SSH Documentation what does username@remotehost mean in the following: *By default the public key is saved in the file ~/.ssh/id_dsa.pub, while ~/.ssh/id_dsa is the private key. Now ...
0
votes
1answer
134 views

How can I add a ssh host key in a client programmatically?

After installing a server, I want it to connect to a remote host and add its host key to ssh without asking for confirmation, inside a script. Can I do so by passing the expected fingerprint to the ...
0
votes
0answers
121 views

Using another ssh instance as ProxyCommand?

There are plenty of "recipes" out there that suggest using Netcat for ProxyCommand with the ssh program (either on the command line or in the ~/.ssh/config file). The entry in the configuration file ...
1
vote
1answer
77 views

SSH certifificate authentication via .ssh/config

I can login to my server using a certificate if I issue the command directly in the shell: $ ssh -p 26000 rambo@jumanji.gov However, when I configure this host in .ssh/config falls back to password ...
0
votes
2answers
147 views

Why is SSH so slow over UMTS while SCP has acceptable speeds

I'm using ssh to access a laptop (running that connects to the internet through UMTS. It is painstakingly slow to type any command. However when I use SCP to copy a file from the same laptop to the ...
0
votes
1answer
193 views

OpenSSH vs PuTTY… - native support for proxy?

I am wonder a bit. I use openssh-clients-6.2p2-4.fc19.x86_64 on my Fedora 19. I set the environment variable through the console: "export http_proxy=http://someproxy.officenetwork" and in the same ...
2
votes
1answer
743 views

Can I access a remote web server over an SSH connection?

I recently set up a remote server, which I have running the bare minimums currently. I set up OpenSSH and can access the machine through one of my domain names (using an A-type DNS record). I also ...
1
vote
1answer
593 views

known_hosts not updating, but ssh says it added

When I log in from termserv to any other servers, ssh asks me to verify the host fingerprint. Than it warns me that it added it and moves on. If I immediately log out and log back in, this happens ...
1
vote
3answers
353 views

Alternative ssh server - which is possible to configure to allow all connections without authentification?

Please tell me, is there a ssh server with this unusual capability? Or I would have to edit the source code of openssh-server and recompile?
1
vote
1answer
364 views

OpenVpn and SSH tunneling

first of all I'm a linux newbie and just rent my vps few days ago. I'm using this vps for ssh tunneling and web server (apache, php, etc). Today I want to install openvpn but I'm bit confused that if ...
0
votes
0answers
94 views

OpenSSH over VPN (unable to bring up tun0)

I have a nerwork(10.1.2.0/24) where i connected OpenSSH server and OpenSSH client via a switch. I am following this guide: http://bodhizazen.net/Tutorials/VPN-Over-SSH/ I can successfully ssh to ...