Skip to content

imbolc/squeeze-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup Debian Squeeze to server

Run from root

# cd; wget --no-check-certificate https://raw.github.com/imbolc/squeeze-setup/master/root-install.sh
# bash root-install.sh

Create user

# adduser <username>

Remove user sudo password. Add to /etc/sudoers

user ALL=NOPASSWD: ALL

Run from user

# su <user>
$ cd; wget --no-check-certificate https://raw.github.com/imbolc/squeeze-setup/master/user-install.sh
$ bash user-install.sh

Setup ssh pubkey auth

Copy pubkey from local mashine:

local@mashine$ ssh-copy-id <user@sever_ip>

Edit /etc/ssh/sshd_config:

# disable password auth
PasswordAuthentication no
PermitEmptyPasswords no

# disable root login
PermitRootLogin no

# ssh access allowed user list
AllowUsers <user>

Restart ssh daemon:

/etc/init.d/ssh restart

About

debian squeeze setup script for server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages