LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > omgiamlinux
User Name
Password

Notices


Rate this Entry

Working with debian through windows: The remote console that is SSH

Posted 10-27-2011 at 08:11 PM by omgiamlinux
Updated 10-27-2011 at 08:12 PM by omgiamlinux

If you want to be, as the kids are saying "k-rad", you'll probably learn a thing or two about linux. But if you want to be "uber k-rad", you'll figure out how to use linux from the comfort of your favorite operating system (for most of us, that's windows).

Basically, to work on a linux machine, no one uses GUI stuff unless they were born into a linux family or lured into it at a very young age. So forget about needing to see the visual stuff in linux, you just want the command line responses (and server ports open =D).

To See those command line responses, and to send commands to your linux box, you'll use an SSH client. The choice client for windows seems to be PuTTY, so let's roll with that. When I first install linux, I make sure the checkbox for SSH daemon is checked so it automatically installs SSH. If you didn't do this you might need to do something like [inline]apt-get install ssh[/inline] (That might work).


::How do you create an "SSH account" to login to?
SSH uses the unix user accounts that are on your computer. When you first installed linux, it probably asked you to type in the name of a user. The name you typed is your Unix account, and so it's your SSH account too. Nifty huh? FTP accounts work the same way if you were wondering. This convention makes system administration much less complicated than it would be if you were building a multi-user server using say windows XP.

::How do I connect to SSH from my windows PC?
PuTTY.exe http://www.chiark.greenend.org.uk/~s.../download.html

It's pretty straight forward, just fill out the form and try to login to your SSH.
* Server address
* Port (22)
* Account name (Connection -> Data -> "Auto-login username")

Name it and save it.




ADVANCED

ref: http://www.cs.uwaterloo.ca/cscf/howt...lic_key/#putty

Ever wanted to log into your ssh terminal without having to type in the password? Without having to expose it to network sniffers? Well follow the link above.


OVERVIEW

With PuTTYgen,
* Generate the SSH-2 RSA key (2048 bits optionally)
>* C:\Users\NAME\.ssh\serverName.ppk (save the private key)
>* C:\Users\NAME\.ssh\serverName_rsa.pub (Save and COPY the public key)


Within SSH, paste the public key into authorized_keys
$ mkdir -f ~/.ssh
$ vi ~/.ssh/authorized_keys
>> (hit "a" and then right click to paste your clipboard)


With PuTTY,
* Point SSH->Auth->"Browse" to the serverName.ppk.
* Save the newly set up account settings


Now you're good to go.
Posted in Linux lvl 2
Views 1114 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration