0
votes
0answers
16 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
0
votes
0answers
41 views

Creating multiple socks proxy through SSH [closed]

I have been trying to set up multiple SOCKS proxies through SSH. So far I have managed to created the proxies, but I am having so issues which I need to resolve soon. When I create a proxy using one ...
0
votes
1answer
26 views

Locale not being set on initial login on Raspbian/Debian [SOLVED]

Solved http://serverfault.com/a/559935 When I log in to my headless Raspbian box using putty/ssh, the locale is not being set correctly. However, if I su to another user, then su back, the locales ...
0
votes
0answers
40 views

Google Compute Engine with multiple SSH users, Debian

I have managed to set up my server with a default user 'admin'. The sshKeys in the metadata is set with the following format, described in the google documentation. key: sshKeys value: ...
1
vote
1answer
58 views

Unable to SSH into Google Cloud Server after Reboot

I was learning to configure a Debian server and familiarising myself with the common command lines. However, after executing the reboot command in SSH, my subsequent SSH connections were refused and ...
2
votes
1answer
80 views

rkhunter /usr/bin/ssh && /usr/sbin/sshd [Warning]

My last rkhuter scan reported a couple of warnings that deserve to be checked(for my noob eyes). Main reason for my suspect is that i wasn't on the machine at (03-Apr-2014 01:12:12) ->AM I googled ...
2
votes
0answers
952 views

fatal: bad ownership or modes for chroot directory component “/”

I used to be able to connect via ssh with the user I have created but now I keep getting: "Write Failed: Broken Pipe" and I can only connect as root In the ssh auth.log I get the following: ...
1
vote
1answer
237 views

Create ssh user which can only access home directory [duplicate]

I read documentation on the internet on how to create a new user with SSH access. I figured it out and to create a user is quite simple. The next step I want to take is to jail this ssh server to the ...
0
votes
2answers
124 views

Can't use SSH anymore after installing denyhosts

so I'm in a very tricky situation. I've installed denyhosts on my debian machine and suddenly I can't use SSH anymore. Hopefully I could still login through webmin, but with root, so I had to login ...
0
votes
1answer
78 views

SSH E-mail login alert if SSH port is as NAT

Can you help me with this problem please? How can I set e-mail alerting after SSH login when port 22 is NATed? I use Linux Debian 7. I have used these iptables rules: eth0 - external network, eth1 - ...
2
votes
1answer
282 views

SSH agent forwarding, multiple hop

I tested this setup with Linux origin machine - everything is the same - only the first hop can use keys from origin machine. Initial problem I'm trying to set up SSH agent forwarding with multiple ...
0
votes
1answer
63 views

Unable to generate ssh public key when installing Redmine

I am trying to set up a Redmine on my server, and I am following THIS setup guide. I have used this guide before on my VPS and it worked perfectly however on this server I get following error when I ...
2
votes
2answers
321 views

Update MOTD at ssh login on Debian

What's the most clean way to display a different quote from a file (line-seperated) as MOTD on every SSH login on Debian? In other words, how can I trigger a MOTD update on SSH login?
2
votes
3answers
3k views

sudo: apt-get: command not found. On Debian, SSH

Recently I executed this command: sudo apt-get remove debian-keyring debian-archive-keyring To prevent this such error message: WARNING: The following packages cannot be authenticated! openerp ...
2
votes
1answer
140 views

control keyboard input on GUI over SSH

i am searching for a solution how to echo a keydown over SSH to a running GUI (based on debian). like VNC or Teamviewer but only command line based.
0
votes
1answer
91 views

Alert notification for unauthorized users

Hi I'm using a Phidgets SBC (Single Board Computer ) connected to my PC. So I would like to create an Alert Notification so that whoever enters the Phidgets SBC, triggers an alert notification to the ...
0
votes
1answer
82 views

Ssh 'access denied' from one host but not the other

Consider the following scenario: I have a Debian-ssh-server setup and exposed it to the internet for some time for testing. Also I have an account which is basically configured as root in the sudoers ...
0
votes
0answers
284 views

How to restore a DD image file in my primary disk on new debian server

I have a dedicated Debian server at Online.net and I want to change the server by a more powerful (always Debian OS). For that, I have made an image on my old hard disk with this command: dd ...
2
votes
2answers
317 views

Add ssh user with minimum rights for backup [duplicate]

I have a small server running Debian and I want to add an account with SSH access for backups. The user of this account should have no console access. He can only transfer (backup) data via SCP ...
3
votes
1answer
988 views

Command : must be run from a terminal

I have a shared hosting account, I logged using ssh. when I type for example su I had this output : su: must be run from a terminal Is this error relative to the fact that I don't have sufficient ...
2
votes
1answer
36 views

Can't change to Korean-named directory on my debian server

I made a rsync backup of some directories from a macbook laptop to a debian server. Some of these have korean characters (Hangeul) in their names. After fixing my server's locale, it displays well ...
4
votes
1answer
254 views

How to set up ssh server with VPN tunnel? (Policy routing for sshd service)

It's difficult to me to explain in words, so I made diagrams. In short, I want this to work: Basically I want to be able to connect from my laptop [A] to my desktop [B] via ssh, and run terminal ...
0
votes
2answers
195 views

debian prompt is broken

When I login via ssh or from the console this is what I see: Linux sensu.lbox.com 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 The programs included with the Debian GNU/Linux system are free ...
2
votes
0answers
272 views

Webmin alternative that installs & runs on the client machine & communicate via SSH

Are there any Webmin alternatives that don't consume server resources but instead install on client machine & communicate via SSH client. So effectively all the actions made on that GUI are ...
1
vote
2answers
1k views

How to see all commands executed by the current user, in all sessions/screen/byobu terminals?

If there is debian box, some users have access to the root account, some of those users open an ssh connection and start executing commands, some open screen or byobu or other similar tools to execute ...
3
votes
2answers
540 views

SSH tunnel through middleman server - how to connect in one step (using key pair)?

My question is basically how to turn my existing two steps into one step. I have a working SSH tunnel set up between two computers using a middleman server like this: ...
6
votes
1answer
201 views

Does fail2ban offer any additional protection to SSH if password login is already turned off?

I’m setting up a Debian VPS on Linode to use as a public web server, and I’m following their security suggestions. The last suggestion they make is to install fail2ban, to avoid dictionary attacks on ...
0
votes
1answer
892 views

Unable to login to my server using ssh

Yesterday I was migrating to my new server, needed to use rsync, I created a RSA key, so that rsync could connect, I saw an error that says add to trusted key in location x I didn't have that location ...
3
votes
2answers
431 views

ssh_exchange_identification: Connection closed by remote host

OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: ...
4
votes
2answers
123 views

Determining the Password Status of a User

I have a debian box that I connect to via SSH. I have removed the password from the users root, and my personal account using the instructions here, and set up a public/private key pair so I can log ...
0
votes
1answer
4k views

User denied ssh access while in AllowUsers list

I've inherited the administration of a linux box in my workplace; it was set up by a colleague who is now gone. Recently, I added a new user to the system, and tried to give her ssh access as well; ...
2
votes
0answers
84 views

No communication services enabled following startup

I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are: ssh apache mysql ...
2
votes
0answers
869 views

How to set ssh access for user on debian?

I set groups: usermod -G ssh username and then I've checked account info: id username the result is: uid=1000(username) gid=1001(username) groups=100(username) Anyway if I try to login using ...
2
votes
3answers
3k views

How to backup debian system?

I have VPS hosting with debian operating system. I would like to backup whole system time by time. Here is a lot of questions how to backup OS on local machine, but it's not what I need. I have just ...
4
votes
4answers
2k views

Graphical interface on a remote server?

I've got a VPS with Debian running on it. I connect to it using SSH and configure it in a console mode. Now I want to install some graphical interface to it and use my VPS in graphical mode from my ...
2
votes
2answers
480 views

Run program after finish ssh connection

How do I connect to ssh debian and running a program and let it continue to run after you finish my connection through ssh.
2
votes
5answers
2k views

How to completely hide stuff from a user?

I want to let some of my friends access my computer by making them user accounts. They will mostly access my computer by sftp and ssh, but they could also sometimes access it at my home. However I ...
5
votes
1answer
348 views

Why is it possible to leave CHROOT with this sftp config?

I'm trying to create the user lenny, that has read and write permissions in the folder /home/lenny/ and has no shell but only access via SFTP. I'm doing the following: useradd lenny mkdir /home/lenny ...
12
votes
3answers
14k views

Which users are allowed to log in via SSH by default?

When I set up my Debian 6, I was wondering, which users apart from root whose password I know can log into my system via SSH? When I install Apache 2 a user called www-data gets created. Does this ...
2
votes
1answer
2k views

Problem with pam_mount and sshfs

I'm trying to configure automounting of users home directories using pam_mount and sshfs (users are LDAP users on remote machine). I configured pam_mount: <?xml version="1.0" encoding="utf-8" ...
1
vote
3answers
2k views

Finding the IP address of an ssh connection made in the past

A few weeks ago I made a few ssh connections from my home PC to my college PC and the other way around. Currently I am sitting at my home PC and I am trying to figure out what was the college PC IP ...
2
votes
1answer
244 views

Matlab R2010a over ssh -X displays empty windows

I'm trying to use Matlab R2010a over ssh, with X forwarding. Now the X forwarding certainly works (for example xclock displays nice and fast) But when invoking matlab, I get the splash screen ok, ...
4
votes
3answers
618 views

Is there a way to run an ssh server on an Android device?

I'm looking to install Debian over my Android installation so as to be able to use openssh-server, as it's so much better than Dropbear. Is there an easy way to do this, or just to simply install ...
1
vote
2answers
926 views

SSH on my local network - problem with login

I'm having problem with logging into my local-network-linux (server) ssh with Putty (and with Linux terminal, too) When my server shows me request to insert username, I insert "root" and I do press ...
3
votes
1answer
991 views

Chroot debian squeeze for shell access

A user requires shell access to an Ubuntu server from the WAN side. There are many shell accounts with simple passwords. So shell port (port 22) is blocked in the firewall. For my WAN side user I am ...
0
votes
0answers
495 views

SSH cannot connect from Remote computer after a while

I can successfully connect to Debian via SSH. The problem is that after a while—1 or two days I think—it depends on the number of times I connect, Ii cannot connect remotely..only locally. ...
1
vote
1answer
990 views

Where to find file transfer history from a SSH client (Debian/Linux)?

Help!! Have you ever tried dragging a folder to another folder by mistake in a graphical SSH client? Well, I did this morning, and since I wanted it to stop immediately (I could see it was about to ...
0
votes
2answers
179 views

'redirect' ssh path?

Instead of using... ssh://user@mysite.net:1234/mnt/thing/usr/prj I want to use ssh://user@mysite.net:1234/prj How would I do this? It would be good if users can't access /home, /var and such. I ...
3
votes
2answers
1k views

set umask to 0002 for sftp and scp

I want files sent to my server using sftp and scp to be group-writable. How can I do that? I tried using libpam-umask from http://wiki.debian.org/DebianDesktopHowTo but it didn't work. EDIT: Is ...
3
votes
2answers
475 views

Why did my sudoers file suddenly reset itself?

After setting up Wave in a Box on my Debian server, I started noticing strange things happening: I could no longer use sftp to transfer files, and even worse, I couldn't run any sudo commands! ...