Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-03-2012
Registered User
 
Join Date: Feb 2011
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Putty Auto Login

Hello All ,

Requiremnt : i want to login to putty automatically and change the settings like i want , for ex : changing the "lines of scrollback" , " under colors , want to check to checkmark the option use system colors" . Like this i want to do .
I have a bash file created to login . But unable to write how to change the setting as i want .

google didn`t helped me in this .. . Hope someone will help me here

Thanks in advance .
Sponsored Links
    #2  
Old 07-04-2012
Registered User
 
Join Date: Feb 2011
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Can some one help me . need it badly .
Sponsored Links
    #3  
Old 07-04-2012
admin_xor's Avatar
Registered User
 
Join Date: Jun 2011
Posts: 450
Thanks: 13
Thanked 77 Times in 74 Posts
Why don't you create a new session with all the changes you want and save it?

To save a session: first go through the rest of the configuration box setting up all the options you want. Then come back to the Session panel. Enter a name for the saved session in the ‘Saved Sessions’ input box. (The server name is often a good choice for a saved session name.) Then press the ‘Save’ button. Your saved session name should now appear in the list box. When connecting to the server, click on the session name you just created to load the saved options.

To automate the logon process, you need to use ssh key sharing. Create public-private key-pair using PuTTYgen (check this link for details: Using public keys for SSH authentication ) and save the private key somewhere.

Then, copy the public key from the "Public key for pasting into OpenSSH authorized_keys file" text filed and paste it in the /home/username/.ssh/authorized_keys file. Now, execute the following:

Code:
chmod 700 /home/username/.ssh
chmod 600 /home/username/.ssh/authorized_keys

Now, load the previously saved private key in Pageant (can be downloaded from the same putty download site) and you are good to go.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Auto putty login and an ebook required radha254 UNIX Desktop for Dummies Questions & Answers 2 10-12-2012 05:03 PM
Login putty automatically radha254 UNIX for Advanced & Expert Users 6 05-25-2012 05:45 AM
can't login via GUI but can via Putty lramsb4u UNIX for Dummies Questions & Answers 4 06-03-2011 04:13 PM
Putty Login - with Batch? swame_sp UNIX for Dummies Questions & Answers 3 09-15-2009 10:53 PM
Can't login through putty arrs UNIX for Dummies Questions & Answers 1 11-10-2008 10:02 AM



All times are GMT -4. The time now is 10:16 PM.