Tagged Questions
8
votes
3answers
6k 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 ...
5
votes
1answer
55 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 ...
5
votes
1answer
278 views
Why is it possible to leave CHROOT with this 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
...
4
votes
2answers
66 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 ...
4
votes
3answers
440 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 ...
3
votes
4answers
511 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 ...
3
votes
1answer
814 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 ...
3
votes
2answers
409 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! ...
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 ...
2
votes
2answers
232 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
3answers
611 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 ...
2
votes
1answer
843 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" ...
2
votes
0answers
54 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
275 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
1answer
192 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, ...
1
vote
5answers
851 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 ...
1
vote
2answers
315 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 ...
1
vote
2answers
521 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 ...
1
vote
1answer
493 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 ...
1
vote
0answers
69 views
Debootstrap and SSHs server
I got a NAS server, a synology. To be able to configure web server better than DSM can do (DSM is synology linux like), I have installed a debian via deboostrap.
My web server works really fine on the ...
0
votes
1answer
119 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 ...
0
votes
2answers
143 views
'redirect' ssh path?
Instead of using...
ssh://[email protected]:1234/mnt/thing/usr/prj
I want to use
ssh://[email protected]:1234/prj
How would I do this? It would be good if users can't access /home, /var and such. I ...
0
votes
1answer
309 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; ...
0
votes
0answers
380 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. ...