1
vote
3answers
25 views

Chroot sftp jail seems to be insistent on not working

So I followed this guide to the letter: http://markshust.com/2013/04/01/how-setup-chrootd-sftp-account-linux and a few other guides as well, but I seem to be incapable of getting a connection. I am ...
0
votes
3answers
38 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 ...
1
vote
1answer
25 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 ...
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 ...
1
vote
0answers
48 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
126 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 ...
0
votes
1answer
191 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
22 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
2answers
294 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 ...
1
vote
1answer
447 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
426 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
292 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?
0
votes
0answers
89 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 ...
0
votes
1answer
96 views

Sharing windows 7 id_rsa and id_dsa key to another OS

On my windows 7 I have both id_dsa and id_rsa keys. I've decided that I want to switch to ubuntu 12.04 LTS to be exact. can I transfer my id_dsa and id_rsa keys and other git configurations to Ubuntu? ...
0
votes
1answer
111 views

SSH tunnel from linux (ubuntu) to windows

I want to make an SSH tunnel from my Ubuntu to my PC (Windows 7). I found this tutorial for installing openSSH in Windows. I can connect successfully but when I run: ssh -D 8080 [user]@[ip] I ...
0
votes
1answer
179 views

I am trying to ssh into a server and it hangs at login

I am trying to ssh into a server and it hangs at login. This is the output of ssh -v: OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data ...
6
votes
4answers
2k views

Secure remote editing of root-accessible files over SSH

As per security best practices one should not allow root login over SSH with password or keys. Instead, sudo should be used. However, if one wants to use SSH (SFTP) for remote editing of server ...
0
votes
1answer
102 views

Logout safe way to have ssh-agent session for server processes

I am having a server process which is using a passphrase protected SSH key. Currently I log in via SSH to give the key every time the process is restarted. I do: eval `ssh-agent` ssh-add mykey # ...
1
vote
2answers
106 views

Is there a difference if SSH key is created on serverside?

I've got a server running Ubuntu. I installed openssh-server and wanted to use ssh key for login purposes. Everything works fine except one thing. On Ubuntu's community site is written "This massively ...
0
votes
1answer
81 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 ...
1
vote
2answers
282 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. ...
2
votes
2answers
694 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
3k 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 ...
3
votes
1answer
293 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 ...
3
votes
1answer
2k 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 ...
2
votes
3answers
1k views

Can only ssh into Ubuntu 12.04 alpha machine when logged into console

I recently installed the latest Ubuntu 12.04 64bit alpha (2?) onto a VMware virtual machine in order to check things out. One strange thing I've encountered is that I can only successfully ssh into ...
1
vote
2answers
3k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
5
votes
6answers
22k views

OpenSSH server refuses to accept key authentication

I tried to use public key authentication on my new server, and I came across this problem. $ ssh -v -i .ssh/server 192.168.1.100 OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration ...
1
vote
2answers
2k views

SSH Connection Error : No route to host

There are three machines in this scenario: Desktop A : user@1.23.x.x Laptop A : user@1.23.y.y Machine B : user@192.168.z.z All the machines have Ubuntu 11.04 (Desktop A is a 64bit one) and have ...
3
votes
1answer
2k views

Connecting FileZilla to SFTP, OpenSSH

I've a Ubuntu machine where is installed OpenSSH. I want upload/download files there thru SFTP with FileZilla. SSH works good with putty etc, but when I try to connect with FileZilla, I get Status: ...
0
votes
3answers
2k views

No /etc/init.d/sshd file? (Ubuntu / EC2)

On a fresh EC2 instance running Ubuntu, I see that there's no /etc/init.d/sshd file. I tried sudo apt-get install openssh-server And it shows that openssh-server is already the newest version. How ...
1
vote
1answer
1k views

SSH Key Exchange from Cygwin to Ubuntu Fails

I'm trying to SSH from a Windows/Cygwin to Ubuntu. I am not using PuTTY. Instead, I'm using Cygwin ssh, which should be OpenSSH. I used ssh-user-config on the Windows machine to generate my key ...
1
vote
2answers
326 views

SSH Server Not Autostarting on Apple TV

I have an Apple TV onto which I installed Ubuntu Karmic. It works great save a small problem with SSH. The openssh-server package is installed and configured and can be started with sudo ...
7
votes
1answer
5k views

Denyhosts keeps adding my IP address to hosts.deny

I have setup Denyhosts to run on my server, and have been using it succesfully for the last few weeks, to allow me to ssh into my server from my home dev machine. This morning, I accidentally typed ...
3
votes
1answer
3k views

File encryption in a bash script without explicity providing password

I want to automate the following manual process. Currently, I am encryptying a set of files using openssl as follows: Encrypt file.txt to file.out using 256-bit AES in CBC mode $ openssl enc ...
5
votes
4answers
14k views

Can someone explain the 'PasswordAuthentication' in the /etc/ssh/sshd_config file?

On this page, the explanation given is: The option PasswordAuthentication specifies whether we should use password-based authentication. For strong security, this option must always be set ...
1
vote
3answers
364 views

If I ssh to a domain provided by dyndns, does my password go through them?

I'm running Ubuntu on my work PC, and my work place provides me with a static IP address but not with a domain. It's sometimes useful for me to connect to that PC through ssh, but it's not common ...
0
votes
1answer
969 views

SSH doesn't work on Ubuntu

I am trying to connect to my webserver via ssh but I can't. When I insert the password nothing happens. This is what I see: # ssh username@username.example.com username@username.example.com's ...
0
votes
2answers
7k views

How to reset SSH configuration on my PC?

How can I reset all the SSH settings, so that it worked as after fresh install? (I may delete the keys, they're not needed anymore.) In Ubuntu 9.10, after a certain moment I started getting "Host key ...
16
votes
10answers
21k views

Why does the “password” prompt take forever when I SSH into my Ubuntu 9.05 server?

Answer: It was, in fact, performing reverse DNS resolution. Based on the suggestions below and this article, I added "UseDNS no" to my sshd_config, rebooted ssh, and now the password prompt displays ...