0
votes
0answers
5 views

Hostname missing on Debian 7 Linode after logging in [duplicate]

Linux n00b here running Debian 7.3 on a Linode box. Please bear with me :) I haven't logged into my Linode in a while (3 months?) and when I logged in today via SSH I noticed the hostname is missing: ...
-1
votes
0answers
13 views

Can't add user to gitolite server

I have gitolite server installed on debian 7. When I add users through the gitolite-admin repo, their keys appears in the /home/gitolite/.ssh/authorized_keys, however they can't login. Output from ...
1
vote
1answer
21 views

skip 2 steps verification when there is ssh key Debian [closed]

I had installed 2 steps verification on my server using this great manual: http://support.jpgottech.com/knowledgebase.php?article=72 Everything works great but I had encountered a small issue, I want ...
4
votes
3answers
179 views

IPtables locking down website allowing only SSH

I have written my first IPtables rule file to try and protect my server on all ports apart from SSH and the ports needed for the web. This is what I have come up with: i=/sbin/iptables # Flush all ...
1
vote
4answers
62 views

Securing debain with fail2ban or iptables

I'm looking to secure my server. Initially my first thought was to use iptables but then I also learnt about Fail2ban. I understand that Fail2ban is based on iptables, but it has the advantages of ...
1
vote
0answers
66 views

OpenSSH server accepts public key then immediately closes the connection without any error message

I am trying to connect to an SSH server I was able to connect to in the past but using different OpenSSH client versions. Starting from a Cygwin OpenSSH_6.6.1, OpenSSL 1.0.1g 7 Apr 2014 client, going ...
0
votes
2answers
39 views

ssh connection to Debian machine hangs when updating firewall rules

I am running a script which updates firewall rules on a Debian machine via SSH as well as other actions. However, after the script runs, my connection just hangs. I am able to close the terminal and ...
0
votes
1answer
38 views

No output from remote Debian server

When I login to my Debian server over SSH, it "freezes": in interactive mode, I don't get the prompt, if I say ssh server 'ls', nothing happens. I can, hovewer, use Bash built-ins, for example ssh ...
2
votes
1answer
52 views

How to reset self-signed keys that allow remote shell access to server in (Debian) linux

This is not something I've ever had to do before, and in light of the heartbleed bug I've been looking for a guide of how to do it properly, but all I can find are guides on how to log into a server ...
1
vote
2answers
49 views

Debian: How to detect when user connects for the first time with SFTP?

I'm trying to set up the following: Allow access to an OpenSSH sftp server via ssh keys only, i.e. no password authentication allowed. SSH keys are generated automatically on the server. The server is ...
0
votes
2answers
245 views

Why do I get a ssh Permission denied (publickey)?

I have two machines on Google compute engine and I want to ssh the other server. Therefore, on the first machine (namenode), I created a passwordless ssh key for user hadoop and did a cat id_rsa.pub ...
0
votes
1answer
569 views

Tunnel windows VPN through SSH

Ok here is my issue... I want to connect to a VPN via pptp on Windows XP however it is behind a firewall that I have no control over. I am able to make SSH connections. I wish to VPN to a server I ...
0
votes
1answer
76 views

Browser based SSH [closed]

I have a small debian server colocated which hosts a domain and a single flat file site via lighttpd. For a variety of reasons I'd like to be able to run ssh in browser (without a browser plugin) via ...
1
vote
0answers
94 views

sshd running at 100%

I'm running an Ubuntu/WordPress server on Amazon EC2 which is experiencing problems every 24-48 hours: I get a CPU alarm from EC2, log into the server, and discover sshd is running at 99.9% CPU. This ...
-2
votes
1answer
54 views

Restore access to SSH of own dedicated server with Debian

I have own dedicated server. I lost my root login & password for SSH. All I have now its access to ftp, and access to vhcs panel where I can to create ftp users, mysql... I collected some info ...
-1
votes
1answer
38 views

Changed the port in Debian and forgot [closed]

A dedicated server with Debian 7 Changed the port in Debian (/etc/ssh/sshd_config) and forgot. How do can I find the port number?
0
votes
2answers
201 views

Terminal output being cut off

I'm using ZSH as my shell and running a Debian 7 installation on a Linode box. When I ssh into this box and run any command where the output is larger than the window, the output that extends beyond ...
0
votes
1answer
218 views

difference between /bin/sh and /bin/bash(chrooted)

I am stuck in this issue: I have a new server which i access thru ssh, using PuTTy. In Configuration, i need to select which ssh shell i need in order to access the server with ssh. choices: ...
0
votes
2answers
202 views

autossh -> private key without passphrase

I would like to tunnel a mysql database. So I thought I use a private key without a passphrase to make it reboot friendly. The problem is, openssh still asks me for a passphrase and if I leave it ...
2
votes
3answers
550 views

Rsync over SSH getting no tty present

I'm using the following command in root's crontab on Debian. rsync -vqrlHEAXogDtzhi --log-file=${LOG} --progress --rsync-path="sudo /usr/bin/rsync" --exclude-from=$CONFIG_DIR/excludes -e "ssh -i ...
0
votes
1answer
124 views

Hide or revoke permissions to the .ssh directory for sftp and ftp access

I dont want that the user has access to the ssh key via sftp and ftp. Is there a way to change the directory or revoke the permissions, even to see the .ssh directory ? Have not found anything with ...
0
votes
3answers
574 views

How to to avoid “Port 22: Connection refused” error?

I have a server where I just use openssh, openvpn and rabbitmq (which requires a lot of erlang dependencies). Every time I reboot my server I can't access to it anymore getting Port 22: ...
1
vote
1answer
104 views

Is there a way to disable SFTP access without changing the user password?

We have a web app that allows our users to set up vendor SFTP accounts. We want our users to be able to manage the vendor accounts that can access their server in a reversible fashion, ie, without ...
0
votes
1answer
147 views

Can't su to login on other user

I have a Debian server, and I can SSH to it.. On SSH there I'm prompted to specify username and pass, I can login here as any user I want.. If I'm root I can change to other users, for example with: ...
2
votes
2answers
471 views

Unix Shell/SSH config to allow TCP port forwarding without showing a command prompt

I'm running a Debian Linux. I'd like to have a user account that is able to connect via SSH for TCP-forwarding only, without a command prompt. e.g the following would work (from a remote computer): ...
0
votes
1answer
141 views

iptables Port Forwarding Not Working

I have a server that I configured to be a router (Debian 7 Stable). eth0 is hooked up to my cable modem, and eth1 is hooked up to a 24-port switch. DHCP,DNS,Routing,Traffic all work fine. The only ...
0
votes
0answers
72 views

How to install a Debian on the remote Server with running Debian alreadz?

There are many tutorials (e.g. the main I think: D.3. Installing Debian GNU/Linux from a Unix/Linux System), how to install a new Debian from one another. But they all sounds for me like you need a ...
2
votes
2answers
359 views

Is there a shell to change password when connecting over SSH?

This is a pretty odd question, but I'd like my users to be able to change their passwords for my FTPS server, which is using local accounts. Currently all these users have /bin/false set as shell, but ...
1
vote
2answers
238 views

corrupted lines display in ssh terminal

I have problem with my console drawing lines. The problem is when I connect through ssh to server everything draws ok. But when I use up arrow key to show last used commands it often leaves few ...
0
votes
3answers
121 views

I edited /etc/passwd and have strange problems

I manually edited /etc/passwd for non-root user - yeah, I know this is bad. Unfortunately I saw this (SSH failing authentication after manual edit of /etc/passwd and /etc/shadow) very late. I already ...
0
votes
1answer
325 views

tunneling layer 2 ssh

Ok, I'm trying to break my previous question down into parts: This is my reference: https://help.ubuntu.com/community/SSH_VPN tunneling ubuntu -> debian 1. ssh -i green.pem root@$HOST echo 1 | ...
10
votes
2answers
333 views

SSH session never closes when executing “apt-get install”

Problem When running apt-get install in an SSH session, the session never closes. Example: ssh user@target "sudo apt-get -y install my_package" The my_package does get installed properly, but the ...
1
vote
1answer
75 views

Amazon Ec2 - Creating a private AMI

I have a quick rhetorical question. I want to create an AMI from my EC2 instance but I want it to be strictly private since it will contain my configs and SSH keys. When creating AMI via the EC2 ...
3
votes
1answer
266 views

Can't SSH into Amazon EC2

This is my first Amazon EC2 instance but I'm having a hard time and google can't help me out. These are the steps I have taken: Generate a keypair called aws Download aws.pem and put in my ...
0
votes
1answer
850 views

Server rejects connections on svn:// protocol (SVN repositories)

I have Debian OS on my VPS server. I can connect with it via SSH, HTTP, FTP, but when I'm trying to operate on svn:// protocol, my server close connection after about 5 minutes from request. E.g. I ...
0
votes
1answer
793 views

ssh server: could not load host key

I'm configuring ssh server, but have faced an issue. First I generate the private/public rsa keys with: ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key and set password on prompt. Then try to start ...
0
votes
1answer
202 views

SSHd not logging Failed publickey attempts

On Debian Squeeze I have sshd set up to not permit password logins and require key based authentication. I notice that when I attempt to log in from the WAN into my box with a bad SSH key, I do not ...
11
votes
2answers
498 views

What to do when someone logged as root on my server

I have a server running Debian 6.0 with logcheck installed. Yesterday ago, I received this message: Jan 19 19:15:10 hostname sshd[28397]: Authentication tried for root with correct key but not from a ...
1
vote
4answers
116 views

monitor/stream bash_history [closed]

is there a way to stream/monitor/log bash history to prevent the ability of someone hiding stuff? would like to monitor and know every little thing that happens so that the list of commands and ...
12
votes
7answers
1k views

Restore SSH session

I have connected to my server via SSH and created a process, but suddenly my internet connection got disconnected. I know that the process is going on, but how can restore previous session to see the ...
0
votes
0answers
213 views

I cant access ssh to PC by Ipv6

Ive installed Debian on my PC, its connect to internet by (mobile internet orange). I can access to PC only by tunnel IPv6. Ping works (IPv4 and IPv6) access by ssh (IPv4) also work but I have access ...
1
vote
0answers
278 views

Cannot connect to SSH or FTP through VPN connection to network

Ok so this may be something really obvious that I am missing out but hopefully somebody will be able to spot what I have done wrong or suggest some further steps. I am running a debian squeeze server ...
-2
votes
3answers
594 views

how to ssh debian as root without password?

I'm running debian 6.0.6, and I want to remotely login it as root without password. I tried the typical ssh-login-without-password configuration (.ssh/authorized_keys), but it didn't work. So I doubt ...
0
votes
0answers
171 views

Different result with same grep conditions via ssh

Like in the subject I got different result from the same grep command. The following command is run on a central server which query the other servers via ssh. ssh root@$domain "grep `date +%Y/%m/%d` ...
0
votes
0answers
178 views

“Connection refused” after setting up IPv6 on Debian

I just set up IPv6 on Debian Squeeze on a hosted root server. Since I rebooted I can't connect to the server anymore. Ping is fine, but HTTP and SSH won't work. When I try to connect with SSH using ...
1
vote
1answer
83 views

Wrong IP address in ssh restart

I've just set up a second vps (s2.example.com) and when trying to restart SSH I'm getting the following error: "The authenticity of host 'restart (xxx.xxx.xxx.74)' can't be established." The IP ...
1
vote
0answers
343 views

Debian squeeze: SSH login works fine, SFTP login returns a Failed password error

I'm currently trying to setup SFTP on debian using openssh. I can still login with all my users using ssh, but as soon as i'm trying to login using an SFTP client like filezilla i'm getting an failed ...
2
votes
1answer
50 views

How can an RSA key be placed in a “non-folder”?

I lack a lot of knowledge regarding the subject so please excuse me if my question is very ignorant. I just started out with RSA key authentication to my test-server. It did not work at the beginning ...
1
vote
1answer
135 views

Debian Server stops responding

I have a problem with a debian system. Today at exactly 04:00 it stopped responding to nagios. I cant login via SSH either. That is not the first time this is happening, but the first time I watched ...
1
vote
2answers
141 views

I've installed “dash” but still see “bash” when I login via SSH [closed]

I've configured my Raspberry Pi to use "dash" for default shell, as instructed here. I have Dropbear for SSH. When I login via SSH, I still see the "bash" console, and not "dash". How to change ...