Sponsored Content
Full Discussion: Login putty automatically
Top Forums UNIX for Advanced & Expert Users Login putty automatically Post 302588564 by admin_xor on Monday 9th of January 2012 10:38:07 AM
Old 01-09-2012
You need to generate ssh key for password less login. Do this on your UNIX/Linux server:
Code:
ssh-keygen -b 2048 -t rsa

When prompted enter blank passphrase for password less login. Public key goes into ~/.ssh directory as id_rsa.pub and private key goes as id_rsa. You need to copy the id_rsa.pub file and save as authorized_keys in the same directory.
Code:
cd ~/.ssh
cp id_rsa.pub authorized_keys

Now, get the private key id_rsa onto your Windows machine and conmert it to putty compatible key using PuTTYGen.exe. You need to save the .ppk file and use it with PuTTY to get authenticated without using password. All these are because OpenSSH does not support PuTTY keys.

Check the PuTTY documentation page for more info.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. UNIX for Advanced & Expert Users

Unix user with root power problem in to login in putty

Hello, I created a user in my AIX 5.3 system and i modified /etc/passwd file in and assigned this user the uid=0 like root user. The problem is that when this user log into the system through putty it asks for root password instead of the user password. As a result of this, if i reset the... (4 Replies)
Discussion started by: omonoiatis9
4 Replies

7. UNIX for Dummies Questions & Answers

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... (2 Replies)
Discussion started by: radha254
2 Replies

8. Ubuntu

Login from putty in wndows7 to connect ubuntu machine

hi, i have ubuntu installed on windows 7. I am trying to connecting to ubuntu from windows 7 using putty but it is giving network problem. I am trying to connect with ip address Thanks (9 Replies)
Discussion started by: diehard
9 Replies

9. 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

10. AIX

Able to ping the server but not able to login through putty it says network timeout

Able to ping the server but not able to login through putty it says network timeout Please assist (3 Replies)
Discussion started by: Vishal_dba
3 Replies
psftp(1)							 PuTTY tool suite							  psftp(1)

NAME
psftp - interactive SFTP (secure file transfer protocol) client SYNOPSIS
psftp [options] [user@]host DESCRIPTION
psftp is an interactive text-based client for the SSH-based SFTP (secure file transfer) protocol. OPTIONS
The command-line options supported by psftp are: -V Show version information and exit. -pgpfp Display the fingerprints of the PuTTY PGP Master Keys and exit, to aid in verifying new files released by the PuTTY team. -b batchfile Use specified batchfile. -bc Output batchfile commands. -be Don't stop batchfile processing on errors. -v Show verbose messages. -load session Load settings from saved session. -P port Connect to port port. -l user Set remote username to user. -batch Disable interactive prompts. -pw password Set remote password to password. CAUTION: this will likely make the password visible to other users of the local machine (via com- mands such as `w'). -1 Force use of SSH protocol version 1. -2 Force use of SSH protocol version 2. -C Enable SSH compression. -i path Private key file for authentication. COMMANDS
For a list of commands available inside psftp, type help at the psftp> prompt. MORE INFORMATION
For more information on psftp it's probably best to go and look at the manual on the PuTTY web page: http://www.chiark.greenend.org.uk/~sgtatham/putty/ BUGS
This man page isn't terribly complete. See the above web link for better documentation. PuTTY tool suite 2004-03-24 psftp(1)
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy