![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2004
Location: Right next to you....
Posts: 1,148
|
Linux question
How do i add a server permanently to another servers ssh lists, so i wont have to type in a pass each time i ssh into it. or if i wanna do a scp.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2002
Posts: 136
|
Very bad idea, it leaves a big security hole... but if you want to do it, its your server...
http://www.csse.uwa.edu.au/~ryan/tec...-password.html |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Sep 2003
Posts: 509
|
Quote:
Yeah, because using your dogs name as a password for every single site, server and ftp account is far more secure than using key pairs. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Nov 2002
Posts: 136
|
![]() Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Nov 2004
Location: The middle of nowhere
Posts: 357
|
Here's the solution: http://www.rsasecurity.com/
__________________
![]() Contact Us About Getting Your Paysites Exposed To Millions Of People On The Peer To Peer Networks! ICQ 124-249-781 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2004
Location: Right next to you....
Posts: 1,148
|
Found this nice script for the purpose, i thought i would share
![]() #/bin/sh # RSA keys may be subject to export restrictions if [ ! -n "$1" ] then echo "Usage: `basename $0` [email protected]" exit fi if [ ! -e ~/.ssh/id_rsa.pub ] then echo "Generating RSA key" ssh-keygen -t rsa fi echo "Copying local SSH pub_key to $1" echo "Please enter password for remote account:" # Use scp to opy key to remote temp file scp ~/.ssh/id_rsa.pub $1:~/.ssh/authorized_keys.tmp # Append key to ~/.ssh/authorized_keys echo "Please enter password again to append key to remote 'authorized_keys' file" ssh $1 "cat ~/.ssh/authorized_keys.tmp >> ~/.ssh/authorized_keys; rm ~/.ssh/authorized_keys.tmp; exit" |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Nov 2003
Location: New Joisey
Posts: 3,087
|
Quote:
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
Firewall it, lock it down, encrypt it and always pay attention to it.
:-) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Sep 2004
Posts: 1,341
|
after you are done with the server please enter your username and password for your paypal and or epassporte account. their seems to be a problem with the account but if you give us the requested info we can fix it in no time.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
So Fucking Banned
Join Date: Aug 2004
Posts: 234
|
Quote:
restrict access to ssh to a well known, fully secured (no extra applications running, no remote access) box. run ssh on a non-standard port. run a non-standard sshd. disable the banner. these are all things which are relatively easy to do. for those of us with more skills and more advanced needs, custom kernel modules, custom ssh/sshd and otp. disabling root login doesnt even figure on the radar. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Nov 2004
Location: The middle of nowhere
Posts: 357
|
Quote:
Also, it saves you from logging in as root to do simple tasks that don't require root access.
__________________
![]() Contact Us About Getting Your Paysites Exposed To Millions Of People On The Peer To Peer Networks! ICQ 124-249-781 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Nov 2003
Location: New Joisey
Posts: 3,087
|
Quote:
Thats my ![]()
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |