Sponsored Content
Full Discussion: Auto login to Unix
Special Forums Windows & DOS: Issues & Discussions Auto login to Unix Post 302394622 by rahulbahulekar on Friday 12th of February 2010 05:36:45 AM
Old 02-12-2010
Auto login to Unix

Hi,

i am trying to connect to unix server from windows bat file using telnet command. But bat file is unable to pass username and password hence could not login to UNIX.

My requirement is to connect UNIX server from .bat file and run few macros at a perticular schedule. My UNIX login does not have the access to use crontab hence i am going for windows bat files.

I googled a lot to get the answer for - how to connect UNIX from windows bat file but not getting any proper answer.

I tried with putty as well -

putty.exe -ssh ServerName.COM -l UserName -pw MyPassword -m cmd.sh

but still its not working

Plz help!!

Thankx in advance.
 

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. UNIX for Advanced & Expert Users

UNIX Auto-login

I am trying to bypass the login screen when the system boots and auto-login to open windows. I believe I need to modify the S99dtlogin but I don't know what to add/modify. Has anyone ever created an auto-login for Solaris 8? (1 Reply)
Discussion started by: nvanduyne
1 Replies

4. Solaris

Auto Login to Open Windows

I am trying to bypass the login screen when the system boots and auto-login to open windows. I believe I need to modify the S99dtlogin but I don't know what to add/modify. Has anyone ever created an auto-login for Solaris 8? (1 Reply)
Discussion started by: nvanduyne
1 Replies

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

6. Solaris

Auto login with SFTP

Hi All, How do you get around SFTP not having the 'cat' command to set up scripts to run cron jobs for passwords? I am use to the FTP allowing that, but we are converting to SFTP and need to be able to still run the same scripts in off hrs. Is there a way to still cat the password at the prompt... (14 Replies)
Discussion started by: wsiefkas
14 Replies

7. Shell Programming and Scripting

sftp auto login

Hi, I looked into lot of posts on this question but i could not figure out the solution. we are using the following ftp shell program to send the file to target server. #!/usr/bin/ksh ftp -n -i<<EOF 2>&1 open <target server ip> user <username> <pwd> lcd /sc/doc/prd/FCSTP put file1.txt... (3 Replies)
Discussion started by: srrao.ch
3 Replies

8. Windows & DOS: Issues & Discussions

auto login script

can any one help me for auto login bat file from windows to unix,to check the server daily.. Thanks Mohan (1 Reply)
Discussion started by: mohankasi
1 Replies

9. Shell Programming and Scripting

issue while auto login using .ssh for HPUX

Hi, While trying to supress password prompt using ssh. I have added .ssh folder manually and generated public key and added to authorized_keys file in the remote machine. But still it's prompting for passwords with the following message: Permission denied... (5 Replies)
Discussion started by: 116@434
5 Replies

10. 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
GFTP(1) 						      General Commands Manual							   GFTP(1)

NAME
gftp - a graphical ftp client SYNOPSIS
gftp [options] [[proto://][ user : [pass] @] site [: port ][/ directory ]] DESCRIPTION
gFTP is a multiprotocol file transfer program for X Windows and the console. It features support for the FTP, SSH, HTTP, and local file system protocols, simultaneous downloads, resuming of interrupted file transfers, file transfer queues, downloading of entire directores, ftp and http proxy support, remote directory caching, bookmarks menu, stop button and many more features OPTIONS
You may enter a url on the command line that gFTP will automatically connect to when it starts up. --help, -h Display program usage, and quit --version, -v This will display the current version of gFTP, and exit --download, -d This tells gFTP to download the files and directories specified in the url passed on the command line. user This is the username that you will login as to the remote site. If no username is supplied, the default is to login as anonymous. pass This is the password you will use to login to the remotesite. If you do not enter a password, then gFTP will ask you for one when it starts up. I do not recommend entering your password on the command prompt. Anyone that has access to your machine will be able to see your username and password with the ps(1) command. If you are logging in as anonymous, you do not need to pass a password since gFTP will automatically send your email address as your password. site This is the remote site you want to connect to port This is the port that the remote server is listening on. If you do not enter a port, it will default to using the ftp port listed in the services(5) file. If the entry doesn't exist there, it will default to port 21. directory This is the default directory to change to once you are connected to the remote server. FILES
~/.gftp/gftprc Per user configuration file. This file is commented very well, so that is why there isn't a manpage for it. Most of the options in here can be set inside gFTP itself. BUGS
If you find any bugs in gFTP, please report them directly to the author. AUTHOR
Brian Masney <masneyb@gftp.org> - http://www.gftp.org/ FEBURARY 2001 GFTP(1)
All times are GMT -4. The time now is 02:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy