Sponsored Content
Special Forums IP Networking connecting to Unix from windows - help Post 302172583 by Sreejith_VK on Tuesday 4th of March 2008 06:38:06 AM
Old 03-04-2008
Hi ,

I have a much similar question asked in the first post.
In my script(which is in HP UX server) I want to connect to another Unix IBM server and run a script there.After this i want my control back to the first server(The HP).

Is this possible?

I tried something like:
code:
Quote:
telnet IBMserver

echo "admin"
\r
echo "password"
\r
exit
I am getting connected to IBM server but its not taking my echo values as username and password.
How can I resolve this issue?

The following is the output I am getting(I am doing ctrl C after the promt for login remains for long time):

Quote:
AIX Version 5
(C) Copyrights by IBM and by others 1982, 2006.
login: ^CConnection closed by foreign host.
admin
./new.sh[10]: r: not found
password
./new.sh[12]: r: not found
Sreejith_VK
 

10 More Discussions You Might Find Interesting

1. IP Networking

Connecting SGI to Windows PC

I am trying to network an SGI running Irix 6.5 through an ethernet line to a PC running Windows 2000 (I have connected other PC's to this PC without any problems.) The PC has a DSL connection from Verizon that does not support Unix. I tried using DHCP on the SGI, but when I open a web browser on... (2 Replies)
Discussion started by: mdbanas
2 Replies

2. UNIX for Dummies Questions & Answers

connecting windows pc to sco openserver

I connected my windows 2k professional to sco openserver. i want to know how i should setup sco , so when i login from windows it will log me into my home dir on sco (1 Reply)
Discussion started by: scoman
1 Replies

3. UNIX for Advanced & Expert Users

connecting to windows from unix

how to connect to windows from unix??? (7 Replies)
Discussion started by: hemant30
7 Replies

4. Windows & DOS: Issues & Discussions

Connecting UNIX to Windows

Is there a way to connect to Windows from UNIX. From Windows to UNIX, there is a putty that can be used. Is putty also possible to use to connect? (2 Replies)
Discussion started by: punyenye
2 Replies

5. UNIX for Advanced & Expert Users

connecting windows remotely from unix using SSH

Hi Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH I would like to know how to go abt it...am new to it. Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies

6. Solaris

Connecting Hard drive to Windows

Ok i have a bad slice on my solaris 10 hard drive. And that so happens to be where the data is that i need. there are 10 corrupt block that are not allowing it to mount. I tried everything fro ufsdump to fsck -Y -o f and nothing works. so i took the drive out and plugged it into a external USB ->... (4 Replies)
Discussion started by: deaconf19
4 Replies

7. Shell Programming and Scripting

Connecting to Windows Server

Hi, One of the folders in UNIX is mapped with a drive on Windows.From this UNIX machine I want to connect to the Windows Server, perform some checks and view the results back on the UNIX machine. For e.g. if I touch a file under the shared folder on UNIX, I should be able to telnet to Windows... (2 Replies)
Discussion started by: swasid
2 Replies

8. Windows & DOS: Issues & Discussions

Connecting to UNIX from Windows without using putty

Hi Is there any command which we can try connecting unix from windows without using any third party tool. Thanks in advance KVB (9 Replies)
Discussion started by: bikky6
9 Replies

9. Virtualization and Cloud Computing

Connecting windows to Vmware

Hi , I have installed Centos 6.5 in my VMWare on windows 7 , My Internet is running fine on both VMWare OS and windows 7 . When I am trying to connect from putty on my window to Vimware Linux but it does not connect. Please help what should I do to connect the window system to Linux System (6 Replies)
Discussion started by: kaushik02018
6 Replies

10. Shell Programming and Scripting

Connecting to Windows server from UNIX through script

I am trying to connect to a Windows server say 10.1.1.10. This servers has a folder named RAJ in which there are multiple .zip files. All these zip files contain a text file called XYZ.txt. Now i have to merge the content of these XYZ.txt files from each of the .zip file and create a new text... (1 Reply)
Discussion started by: swapniljadav
1 Replies
asadmin-freeze-transaction-service(1AS) 			   User Commands			   asadmin-freeze-transaction-service(1AS)

NAME
asadmin-freeze-transaction-service, freeze-transaction-service - freezes the transaction subsystem SYNOPSIS
freeze-transaction-service --user admin_user [--password admin_password][--host localhost] [--port 4848][--secure|-s] [--passwordfile file- name] [--terse=false] [--echo=false] [--interactive=true] Freezes the transaction subsystem during which time all the inflight transactions are suspended. Invoke this command before rolling back any inflight transactions. Invoking this command on an already frozen transaction subsystem has no effect. This command is supported in remote mode only. OPTIONS
--user authorized domain application server administrative username. --password password to administer the domain application server. --host machine name where the domain application server is running. --port port number of the domain application server listening for administration requests. --secure if true, uses SSL/TLS to communicate with the domain application server. --passwordfile file containing the domain application server password. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. Default is false. --echo setting to true will echo the command line statement on the standard output. Default is false. --interactive if set to true (default), only the required password options are prompted. Example 1: Using freeze-transaction-service asadmin> freeze-transaction-service --user admin --password adminadmin EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-unfreeze-transaction-service(1AS), asadmin-rollback-transaction(1AS) J2EE 1.4 SDK March 2004 asadmin-freeze-transaction-service(1AS)
All times are GMT -4. The time now is 04:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy