All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
983 views

Debian - Allow only one user to login from any IP via ssh

I want to configure server so only one user (git) is able to login from any IP address (using key), the other users just from specified IPs. Currenly my configuration allows to login any user from ...
Sfisioza's user avatar
  • 592
0 votes
2 answers
2k views

Empty /var/log/btmp file - Doesn't fill when a bad login occurs

I'm on a VPS which runs Debian 7.0 64bits. And my problem is that all the SSH attempts of connection which failed doesn't appear on my /var/log/btmp file. So when I do : sudo lastb It (only) prints ...
Killmax's user avatar
2 votes
2 answers
4k views

Host key verification failed even though known_hosts is correct

I am running a Debian 7 Wheezy server and are having problems with connecting to other servers over SSH. This problem only occurs while running SSH through crontab, and not otherwise (logged in as the ...
Hans-Filip Elo's user avatar
3 votes
3 answers
4k views

Duplicity error: BackendException: ssh connection to SERVER_IP:22 failed: Unknown server SERVER_IP

I'm trying to setup a backup system with Duplicity. I have a server that I want to backup to another SFTP server. If I try to connect via sftp it works fine: root@SERVER:~# sftp user@SFTP_IP ...
Ixio's user avatar
  • 173
1 vote
1 answer
2k views

SSH key login not working

i am having some problems logging in to one server to SSH via a key this is the client output: ssh '[email protected]' -p 2201 -v OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading ...
Chris's user avatar
  • 104
1 vote
0 answers
171 views

Why ssh tunnel cannot create in the virtualbox or qemu with force mode (-f)?

I try on the dedicated server root@debian:~# strace -e open -f sshpass -p guest ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] -C -N -D 127.0.0.1:22220 -f [pid ...
Alter Miruss's user avatar
7 votes
1 answer
4k views

rsync termiates after a while unexpectedly

I run a rsync command with nohup in ssh session, but after a while it returns this error: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [generator=3.0.9] rsync error: ...
Arash Mousavi's user avatar
-1 votes
1 answer
337 views

openssh chroot terminates ssh connection [closed]

I have a Debian Wheezy server where i would like to chroot certain users when they log in via the openssh server. I am getting an odd error however: For test purposes i have simply added ...
Martin Nielsen's user avatar
2 votes
0 answers
6k views

Match Group restriction in sshd_config does not work

I have got two groups in sshd_config: AllowGroups sftpusers sshusers And I have two groups below subsystem sftp /usr/lib/openssh/sftp-server: Match Group sftpusers,!sshusers ...
Mister natZONE's user avatar
1 vote
2 answers
13k views

SSH using publickey not working on debian (Permission denied (publickey,password).) with clean /var/log/auth.log

For some reason, ssh over publickey isn't working as expected. I've set this up before, and it's worked before on other machines. No idea what I'm doing wrong here... very verbose output of ssh ...
Jono's user avatar
  • 113
3 votes
1 answer
2k views

SSH via terminal succeeds, but same SSH connection via Ansible fails on same machine?

Can anyone possibly shed any light on why this is happening? I am logged into machine A, the client, with user basicuser. When I try to run an ansible playbook on machine B (server machine, as ...
Sam Levin's user avatar
  • 510
1 vote
1 answer
2k views

Chroot with SSH connections doesn't work

I have found How can I chroot ssh connections? and a lot of different blog articles and similar (http://undeadly.org/cgi?action=article&sid=20080220110039, https://unix.stackexchange.com/q/14398/...
CSchulz's user avatar
  • 243
3 votes
1 answer
679 views

Wheezy processes die periodically

I have a very weird problem. Certain processes on my mail server, but not all, die periodically (every second month or so). A few of the process that die are: ssh dovecot postfix Processes that don'...
dimme's user avatar
  • 133
1 vote
1 answer
8k views

KVM: port forwarding to guest VM

I'm using KVM on Debian wheezy. I want to connect to the guest using ssh with the command ssh 1.2.3.4 -p 10122. What I do is: root@host$ iptables -t nat -A PREROUTING -p TCP --dport 10122 -j DNAT --...
jcisio's user avatar
  • 588
1 vote
1 answer
5k views

putty openssh rsa key signature invalid

I'm running a server with Debian Linux 3.2.46-1+deb7u1 with OpenSSH Server 6.0 and secured the login with a 2048 bit RSA key. Although connecting with OpenSSH Client from another machine succeeds, ...
Matthias Hauert's user avatar
1 vote
1 answer
215 views

Cannot access HG repo any more after upgrading to Wheezy

I just updated my proxmox server based on wheezy 7.1. to the latest version (3.1). It acts as a central mercurial repository that is accessed via ssh as well. It seems like I am unable to use ssh-hg ...
user462982's user avatar