11-02-2001
No. I do not think it is possible. The most you can do is "telnet -l <I>username</I>", but that is not supported on many systems. You can use ssh as an alternative which will do what you want.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi guys,
Here is my requirement for ftp script that i have to automate in unix using shell script:
1) Find the files that atre created one week from the present day.
2) ftp them to the backup server.
3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies
2. UNIX Desktop Questions & Answers
Hi guys,
Here is my requirement for ftp script that i have to automate in unix using shell script:
1) Find the files that atre created one week from the present day.
2) ftp them to the backup server.
3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies
3. Filesystems, Disks and Memory
Hi guys,
Here is my requirement for ftp script that i have to automate in unix using shell script:
1) Find the files that atre created one week from the present day.
2) ftp them to the backup server.
3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies
4. Cybersecurity
Hi All,
I am a newbie to unix and scripting. I need to do the following job:
1. Create a batch file in windows that will call a script in a remote unix box.
2. The script now ftp files from the Remote windows machine and get them back to the local windows.
Actually, I have written the script... (3 Replies)
Discussion started by: Ankur
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am working in Unix and Teradata fastload. I need to automate file transfer through ftp from windows path to Unix directory at a specific time, then I should call fastload scripts execution. I have got the fastload script. Entire process should be automated without any manual intervention. It... (1 Reply)
Discussion started by: SATYAPRIYA_D
1 Replies
6. Shell Programming and Scripting
ftp automation code is
ftp -v -n -i $host_name << EOF
user $u_name $u_pass
bi
mput $tar_file
bye
EOF
How to check whether the file is successfully transfered or not. Suppose the user name or password is provided wrongly then the code should track the error and ask the end user to enter... (2 Replies)
Discussion started by: Dip
2 Replies
7. Shell Programming and Scripting
Hi,
I have got a requirement like this.
a parameterized function custFtp which will take 5 i/ps and will do the following tasks.
p1) server name
p2) username
p3) password
p4) path name of the server where the file resides
p5) file name pattern
the function will work like this.
... (1 Reply)
Discussion started by: ani_datta
1 Replies
8. AIX
Here is my requirement to automate the deployment procedure for my project.
Telnet to AIX box (say SERVER1) from windows machine (with USER1)
Select the server to login say "SERVER2"
su as different user say "USER2"(Owner of the deployed files)
Execute the script (Script has so many... (1 Reply)
Discussion started by: nurainos
1 Replies
9. Shell Programming and Scripting
Hi,
i am trying to automate an ftp script which is as below.But my user id has special characters(aaa\$ifg). So it is not working correctly.Can anyone help on this?I tried providing both of them in double & singe quoted. But somehow it is not picking the "\". Also tried keeping \ before the... (3 Replies)
Discussion started by: aeroticman
3 Replies
10. Shell Programming and Scripting
Dear experts, please help me .
I've found simple EXPECT scripts and all works fine. But I need more automation in error handling and sending list of commands/output logging from multiple remote hosts.
I have 10 hosts, for example:
host1 192.168.1.1 LOGIN1 PASSWORD1
...... ... (2 Replies)
Discussion started by: starchen
2 Replies
LEARN ABOUT OPENSOLARIS
ccp
ccp(1M) System Administration Commands ccp(1M)
NAME
ccp - the Sun Cluster System Cluster Control Panel GUI
SYNOPSIS
$CLUSTER_HOME/bin/ccp [-s] [ -l username] [-p ssh-port][clustername | nodename]
DESCRIPTION
The ccp utility is a launch pad for the cconsole, crlogin, cssh, and ctelnet cluster utilities.
The ccp utility also accepts the standard set of X Window System command line arguments.
OPTIONS
The following options are supported:
-l username Specifies the user name for the ssh connection. This option is passed to the cconsole, crlogin, or cssh utility when the
utility is launched from the CCP. The ctelnet utility ignores this option.
If the -l option is not specified, the user name that launched the CCP is effective.
-p ssh-port Specifies the Secure Shell port number to use. This option is passed to the cssh utility when the utility is launched from
the CCP. The cconsole, crlogin, and ctelnet utilities ignore this option,
If the -p option is not specified, the default port number 22 is used for secure connections.
-s Specifies using Secure Shell connections to node consoles instead of telnet connections. This option is passed to the
cconsole utility when the utility is launched from the CCP. The crlogin, cssh, and ctelnet utilities ignore this option.
If the -s option is not specified, the cconsole utility uses telnet connections to the consoles.
To override the -s option, deselect the Use SSH checkbox in the Options menu of the cconsole graphical user interface (GUI).
OPERANDS
The following operands are supported:
clustername If provided, this option can be passed on as an argument to a tool in CCP's set of tools. The clustername argu-
ment can be specified by adding $CLUSTER in a tool's command line property.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of the ccp utility:
CLUSTER_HOME Location of cluster tools. Defaults to /opt/SUNWcluster.
CCP_CONFIG_DIR Location of the tools' configuration files containing tool properties. Defaults to /opt/SUNWcluster/etc/ccp.
FILES
$CLUSTER_HOME/etc/ccp/*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWccon |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ssh(1), cconsole(1M), chosts(1M), cports(1M), crlogin(1M), cssh(1M), ctelnet(1M), serialports(4), attributes(5)
Sun Cluster 3.2 8 Sep 2007 ccp(1M)