VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support SSH Client Forums
Welcome, Guest
Please Login or Register.    Lost Password?
newbie - need help (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: newbie - need help
#1367
newbie - need help 21 Years, 6 Months ago  
I've just downloaded and installed absoluteTelnet. I'm trying to get SSH enabled with my server. My hosting company has asked me to:
FTP to your account
2. Create a directory named .ssh in your home directory
(mkdir /.ssh from ftp, ~/.ssh through telnet)
3. Chmod to 700 .ssh
4. Cd to .ssh
5. Upload your identity.pub to this directory
6. Rename this file to authorized_keys
7. Chmod 400 authorized_keys
Please let us know once this has been done so we may enable SSH for your account

I'm confused about the "identity.pub" file. Does anyone know what this is and how I would get to it?

Thanks

[ October 04, 2002, 12:38 PM: Message edited by: Brian T. Pence ]
Bobby (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#1368
Re: newbie - need help 21 Years, 6 Months ago  
Ok, here's the deal...

Your ISP wants you to use SSH with public key authentication. They consider this a safer method of authenticating than say.... regular old password authentication.

But, what this type of authentication requires is a public/private key pair. The public key goes on the server, and the private key you keep all to yourself (hence the name private) and plug it into your client.

It also seems that your ISP assumes that you already have these keys created. Apparently you do not, but that's ok. They're easy enough to create.

--NOTE---
THESE INSTRUCTIONS ARE FOR SSH VERSION 1 ONLY, AS THE ISP SPECIFIED THE USE OF THE AUTHORIZED_KEYS FILE. SSH VERSION 2 USES THE AUTHORIZED_KEYS2 FILE, AS THE KEY FORMATS ARE *NOT* COMPATIBLE
--END NOTE--

If you can telnet to the server, create the .ssh directory as your ISP instructs (above), then run the program 'ssh-keygen' from the command line. When asked for a filename to save the keys, you can use any name, but for simplicity, use 'identity'. You will then be prompted for a 'passphrase' which will be used to encrypt (and hence further protect) your private key, but for now just press enter to create the key without a passphrase.

Now, you have two files: 'identity' (the private key) and identity.pub (the public key). Rename identity.pub to authorized_keys and change permissions as specified in your ISP instructions. Then, ftp (or zmodem) the 'identity' file back to your client machine and REMOVE THAT FILE FROM THE SERVER.

Now, you're ready to connect via the ssh client. Start Absolute, setting SSH1 as the connection type in Options->Properties->Connections, along with setting the hostname. WHen you hit the 'connect' button on the toolbar, you'll be prompted for your authentication. Switch the radio button from 'plain password' to 'Use RSA/DSA', and supply the path to the 'identity' file you got off your server.

Click OK.

Voila

Let me know if you need more info.
bpence (Admin)
Admin
Posts: 1404
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
Go to top