LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 11-18-2004, 04:59 AM   #1
Hazzie
LQ Newbie
 
Registered: Aug 2003
Location: Stockport, UK
Distribution: RH9
Posts: 12

Rep: Reputation: 0
SSH and passwords


Hi,

I have a win2k3 web edition server that has an account with 2 batch files in it that stop a service and start a service.

From my windows desktop i can use putty to log into the server over ssh. However, I want to use a https web page to send a ssh command over the net to run either of the 2 bat files. The web server is a linux based one.

After looking at this page which gives the syntax for ssh http://www.linuxforum.com/shell/ssh/65-11.php there doesnt seem to be a way of specifying a password to use to log in.

Can you specify a password?
If you cant can you point me in the right direction of what i should be looking into?

Thanks for any help or pointers.
 
Old 11-18-2004, 06:02 AM   #2
Hcman
Member
 
Registered: Jan 2003
Location: Holland
Distribution: OpenBSD 3.6 - Arch Linux 0.7
Posts: 210

Rep: Reputation: 30
Public key authentication beats having to type your password everytime :-)

Look at this helpful article

Maybe that'll help you.

Arjan
 
Old 11-18-2004, 07:19 AM   #3
Hazzie
LQ Newbie
 
Registered: Aug 2003
Location: Stockport, UK
Distribution: RH9
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Hcman
Public key authentication beats having to type your password everytime :-)

Look at this helpful article

Maybe that'll help you.

Arjan
I have taken a look at that article and i dont see how it is more advantageous over a password. It says that everytime i open a session i have to supply the passphrase, so how is that different to supplying the password?

I am new to this public/private key stuff so i am expecting there to be advantages, i just cant quite see it from that article.
 
Old 11-18-2004, 10:53 AM   #4
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Quote:
Originally posted by Hazzie
It says that everytime i open a session i have to supply the passphrase, so how is that different to supplying the password?
That's only if you apply a password to your SSH private key. If you don't do that, you don't have to supply a password. We use PK authentication to automate nightly backups over our systems over SSH/SFTP.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 04:10 PM
ssh question about passwords shanenin Linux - Networking 0 09-13-2004 01:44 PM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM
Setting up SSH to accept authenticate hosts without passwords jphaynes Slackware 4 05-05-2002 11:33 AM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration