log into windows from unix using ssh

Thread Tools Search this Thread
Operating Systems Solaris log into windows from unix using ssh
# 1  
Old 08-17-2009
log into windows from unix using ssh

I want to log into windows from unix using ssh through a script to execute some commands.We have cygwin installed on windows.We have expect library installed on unix(sun solaris).What would be codes for logging into widows from a shell script.

# 2  
Old 08-17-2009
ssh username@servername command_to_run
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SSH program to run on Windows

Hey, For a couple of months, I was using SecureCRT which was satisfying all my needs (keyboard-interactive, sftp ...). Its licence got expired and I no longer want to pay for it. Is there any SSH program other than Putty, u would suggest as free or less expensive with a user interface like... (3 Replies)
Discussion started by: royalliege
3 Replies

2. Windows & DOS: Issues & Discussions

Public/Private Key SSH from UNIX to Windows (Cygwin)

Hello all, I have a bit of trouble working a passwordless SSH from UNIX to Cygwin running windows 2k3. Here are some details. I AM able to SSH from the Windows box to the UNIX box using the keys. Also, I'm able to SSH from UNIX to Windows w/o the keys. However, when I try to do it with the keys... (9 Replies)
Discussion started by: kclerks11
9 Replies

3. UNIX for Dummies Questions & Answers

Changing windows server alias name on windows or unix?

My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1... (1 Reply)
Discussion started by: NycUnxer
1 Replies

4. UNIX for Dummies Questions & Answers

How to input EOF from Windows connected to Unix maxhine via SSH

Hi, I'm connected remotely to a unix machine and my machine is running windows and I'm trying to write a C program that's taking input from stdin. How do I enter the 'EOF' character from my keyboard? (in UNIX it would be ctrl-D). I read somewhere that its ctrl-Z, but when I do that the window... (2 Replies)
Discussion started by: sayeo
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. UNIX for Advanced & Expert Users

Log viewer for unix/cisco/windows

I'm searching a software for consulting log files from my unix server, cisco and windows. A centralised solution. I want to see an I/O error or warning message before problem. Do you have a good software for me ? (1 Reply)
Discussion started by: simquest
1 Replies

7. UNIX for Dummies Questions & Answers

SSH UNIX to Windows

Anyone who has tried creating public and private key from UNIX as client and Windows as server? any idea on how to do this? (1 Reply)
Discussion started by: punyenye
1 Replies

8. UNIX for Dummies Questions & Answers

SSH & X-Windows

I need to use xwindows on an HP server that requires me to connect via SSH. Can I just use Putty to do this, or do I need an additional program to handle the X-Windows? Thanks! (4 Replies)
Discussion started by: FredSmith
4 Replies

9. UNIX for Advanced & Expert Users

missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies

10. AIX

Connect from Windows Using SSH

Hi Everybody, I have 2 Servers (AIX 4.3), recently I installed SSH in both servers successfuly. I can connect from one server to another using SSH. My problem is when I tried to connect from Windows workstation to one of these servers the connection timed out. I'm using PUTTY to connect to the... (12 Replies)
Discussion started by: aldowsary
12 Replies
Login or Register to Ask a Question