Sponsored Content
Full Discussion: Putty Auto Login
Top Forums UNIX for Dummies Questions & Answers Putty Auto Login Post 302666533 by admin_xor on Wednesday 4th of July 2012 04:10:54 PM
Old 07-04-2012
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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Auto login?

Ok I've lost myself and hit a brick wall. What I am trying to do is avoid the login screen when the machine is turned on. So no login screen is needed unless you turn the machine on and log out to login and change users. But as I said before I've hit a brick wall. I got not an idea of what I... (4 Replies)
Discussion started by: merlin
4 Replies

2. UNIX for Dummies Questions & Answers

Auto Login

Hey all, I'm trying to configure a system so when it reboots it'll automatically log as a user I have selected. I've never done this nor' as I to sure on how to. This is teh best I have found on teh web and well I've changed a few things. but does anyone who has done this know if it'll work... (1 Reply)
Discussion started by: merlin
1 Replies

3. HP-UX

Auto X when Login

Hi All, We have some HP unix servers and sometimes we logon there thru a dedicated Windows server that has Reflection X on it in case we need X. In this case we always need to export DISPLAY=winservername:0.0 I want to automate this thing in .profile file. If e.g. $TERM = hpterm (thru... (2 Replies)
Discussion started by: BearCheese
2 Replies

4. Linux

resticting user to login using putty on port 21(ftp)

Hi, I am having small query and wheather it is possible ? that user can transfer the files using ftp client examples (filezilla) , but he can not use putty to login using ftp and run the commands, Regards, Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies

5. UNIX for Dummies Questions & Answers

Can't login through putty

I am changing root password by passwd. Now I can directly log into the system but I can not log in using puttytel. It will show an error "Incorrect Password":rolleyes: (1 Reply)
Discussion started by: arrs
1 Replies

6. UNIX for Dummies Questions & Answers

Putty Login - with Batch?

Hello Everybody, I have a question on the UNIX server login with putty. Can this login procedure into PUTTY be automated with a macro or vbs or batch file? Kindly help me in directing me for the above. Thanks for the help, Regards, (3 Replies)
Discussion started by: swame_sp
3 Replies

7. Windows & DOS: Issues & Discussions

Batch file to login to putty and list directory

I've created a .bat file with this line: start C:\USERS\Putty\putty.exe -ssh user@server.com -pw password That opens a putty session and logged in it with the user and password i've already specified. But now, I want to enter a simple command like "ls -l" for example.. How can I do that? I've... (3 Replies)
Discussion started by: nirmal.mukundan
3 Replies

8. Fedora

can't login via GUI but can via Putty

Hi all, I am able to login via putty to a fedora 10 workstation. But when i try to login via physical screen connected to workstation, it just gives me a blank screen and i cant see any options to enter username and passwd. How do i get the physical GUI to work. $ who -r ... (4 Replies)
Discussion started by: lramsb4u
4 Replies

9. UNIX for Advanced & Expert Users

Login putty automatically

Hi Guys , I am using putty.exe file to login to servers . I heard that there is way to save my username and password in putty so that i no need to give my creds while logging into putty . If so please provide me th way to do so . Please note : I am not talking about keyfile . Thanks in... (6 Replies)
Discussion started by: radha254
6 Replies

10. Shell Programming and Scripting

Some automatic process to login in putty. install some patch

Hello, I was wondering, we have multiple servers where we login from Putty. Is there some way we get automatically loged in after giving server name and password(by saving it in some file or like that) Just a thought (2 Replies)
Discussion started by: mirwasim
2 Replies
CatalystX::SimpleLogin::Controller::Login(3pm)		User Contributed Perl Documentation	    CatalystX::SimpleLogin::Controller::Login(3pm)

NAME
CatalystX::SimpleLogin::Controller::Login - Configurable login controller SYNOPSIS
# For simple useage exmple, see CatalystX::SimpleLogin, this is a # full config example __PACKAGE__->config( 'Controller::Login' => { traits => [ 'WithRedirect', # Optional, enables redirect-back feature '-RenderAsTTTemplate', # Optional, allows you to use your own template ], actions => { login => { # Also optional PathPart => ['theloginpage'], # Change login action to /theloginpage }, }, }, ); See CatalystX::SimpleLogin::Form::Login for configuring the form. DESCRIPTION
Controller base class which exists to have login roles composed onto it for the login and logout actions. ATTRIBUTES
login_form_class A class attribute containing the class of the form to be initialised. One can override it in a derived class with the class of a new form, possibly subclassing CatalystX::SimpleLogin::Form::Login. For example: package MyApp::Controller::Login; use Moose; extends('CatalystX::SimpleLogin::Controller::Login'); has '+login_form_class' => ( default => "MyApp::Form::Login", ); 1; login_form_class_roles An attribute containing an array reference of roles to be consumed by the form. One can override it in a similar way to "login_form_class": package MyApp::Controller::Login; use Moose; extends('CatalystX::SimpleLogin::Controller::Login'); has '+login_form_class_roles' => ( default => sub { [qw(MyApp::FormRole::Foo MyApp::FormRole::Bar)] }, ); 1; METHODS
BUILD Cause form instance to be built at application startup. do_post_login_redirect This method does a post-login redirect. TODO for BOBTFISH - should it even be public? If it does need to be public, then document it because the Pod coverage test failed. login Login action. login_redirect Redirect to the login action. login_GET Displays the login form login_POST Processes a submitted login form, and if correct, logs the user in and redirects not_required A stub action that is anchored at the root of the site ("/") and does not require registration (hence the name). redirect_after_login_uri If you are using WithRedirect (i.e. by default), then this methd is overridden to redirect the user back to the page they intially hit which required authentication. Note that even if the original URI was a post, then the redirect back will only be a GET. If you choose NOT to compose the WithRedirect trait, then you can set the uri users are redirected to with the "redirect_after_login_uri" config key, or by overriding the redirect_after_login_uri method in your own login controller if you need custom logic. render_login_form Renders the login form. By default it just calls the form's render method. If you want to do something different, like rendering the form with a template through your view, this is the place to hook into. required A stub action that is anchored at the root of the site ("/") and does require registration (hence the name). SEE ALSO
CatalystX::SimpleLogin::TraitFor::Controller::Login::WithRedirect CatalystX::SimpleLogin::Form::Login AUTHORS
See CatalystX::SimpleLogin for authors. LICENSE
See CatalystX::SimpleLogin for license. perl v5.14.2 2012-07-15 CatalystX::SimpleLogin::Controller::Login(3pm)
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy