So i was able to run putty from command line and login to a server by using following command.
However, after logging into the server1, it is not performing any command. What am i doing wrong.
Sorry for intruding. Novice Unix user and new to Servers.
Tried finding Putty for my Windows 7 PC, to access my Sun Fire v210. Anyone know where I can download Putty for Win7 or another good program to use as a Terminal Emulator?
Thank you, I'll download that and check it when I get home. If that doesn't work, I'll verify the cable works on another system. I have a switch that uses the same cisco cable.
So i was able to run putty from command line and login to a server by using following command.
However, after logging into the server1, it is not performing any command. What am i doing wrong.
What does it do? Quit instantly? Just sit there?
Quote:
Content of commands.txt
Aren't you in server1 already? Or if not, why not ssh to server1 directly?
I had to add the 'sleep 1' because, without it, it ran and quit almost instantly, too fast to see. It works otherwise.
Aren't you in server1 already? Or if not, why not ssh to server1 directly?
I had to add the 'sleep 1' because, without it, it ran and quit almost instantly, too fast to see. It works otherwise.
(i) I cant ssh directly to that server. I have to login to a main server. From there i can ssh to any server
(ii) IF the command contains ssh server1 and then other commands, it just logs in to the server1 and it just sits there. Instead, if i just try to run a script ( from the main server) directly by including it in commands.txt , it quits instantly . Ill try including sleep command after running the script. Can you also tell me how to store the output of the script into a variable in command prompt.
Hi Friends,
So we have an internal link in my project. We generally login into it with our ids , then enter some generic values to check whether the functionality is working fine. If it is fine, the webpage delivers a successful preview or else throws error.
What i want to do is write a... (3 Replies)
Hi,
I would appreciate some help.
I remotely access, across a VPN, an M5000 and when I connect to the XSCF I can then access the OS using console -d0 and then I can get to the console.
The problem I have is that I need to run something which will take many hours and I can't run it in the... (6 Replies)
Hi All,
I am connecting to SunOs 5.8 server from windows machine through putty. My problem is commands are not showing any colours results. I want to see 'ls' command should list directories in 'red' and files in 'green' etc. How to do it . Please help.
Also How to enable syntax colouring in... (6 Replies)
Dear all
i am new to linux/debian
i run my application on the computer...during startup in bashrc i wrk wid dis script to invoke startx..i do this above command and it works perfectly...
if && ; then
startx -- -br 1>/dev/null
exit 0
fi
i use winscp for file transfer and putty for... (1 Reply)
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)