[Solved] Ssh to windows from linx


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting [Solved] Ssh to windows from linx
# 1  
Old 02-02-2014
[Solved] Ssh to windows from linx

Hi,

I was trying to ssh to windows server from linux box(red hat). I am a bit confused about where to generate the keys. Should I generate the keys in linux and place it in windows or other way around. I have installed openssh package in cygwin on the windows box. can someone please tell me where to generate the keys?

Thanks!!

---------- Post updated at 10:30 PM ---------- Previous update was at 10:14 PM ----------

I got it. generated in Linux and placed it in windows and its working fine now.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

[Solved] How to open x windows in HP-UX?

in my BL 860 server, i have installed HP-UX. X11 and Xserver is installed in it by default. now how to use x windows? can some body help? :confused: (4 Replies)
Discussion started by: rashpalkaur
4 Replies

2. Shell Programming and Scripting

[solved] Process ssh command in while loop

I have a script that reads a file containing a list of server names. It's suppose to loop through the list of names and execute a command on the remote server using ssh. It processes the ssh command for the first server in the list and then exits. Here's the code: #!/bin/bash ... (2 Replies)
Discussion started by: westmoreland
2 Replies

3. Shell Programming and Scripting

[Solved] Not able to read the next line from a file after doing ssh

Hi, I am trying to write a code, where it reads the jobnames from a file and checks for the logs in the server. If the log is not found in the first server, then it will ssh to the 2nd server and get the details from there. I will need to save the date in a variable. But the problem is that,... (0 Replies)
Discussion started by: ajayakunuri
0 Replies

4. Shell Programming and Scripting

SSH and Backticks [solved]

I have been testing a new script and cannot figure out why my `cat spath` will not execute on the remote machine? sudo ssh -p 22344 -o "PasswordAuthentication no" -o "HostbasedAuthentication yes" -l testuser 192.168.1.6 "find `cat spath` -depth" cat: spath: No such file or directory but... (0 Replies)
Discussion started by: metallica1973
0 Replies

5. Shell Programming and Scripting

run command with ssh[solved]

Hi all, Is it possible to make this possible ? $ echo $SKY_HOME /var/sink/SKY $ echo $SKY_HOME /home/smily/SKY $ ssh root@xyz "echo $SKY_HOME" root@xyz 's password: ****** /home/smily/SKY wrong output I was expecting the output as /var/sink/SKY (3 Replies)
Discussion started by: linuxadmin
3 Replies

6. Shell Programming and Scripting

[Solved] Using SSH in bash script

Hello, I am writing a script that has to log in to X number of servers over a full C class range. I am only keyed on a certain number of these servers and this can change from time to time. The part of my script that deals with this is for i in $(cat $server_list); do ssh ... (0 Replies)
Discussion started by: colinireland
0 Replies

7. Solaris

[Solved] SSH Query differences Solaris 9/10

Hi, I am trying to SSH without a password from a Solaris 10 box to a Solaris 9 box. I am not using root user but file permissions seem to be fine... Can anyone tell me why this might not be working?! I can successfully SSH without a password from the Solaris 9 box to the Solaris 10 box,... (0 Replies)
Discussion started by: mcclunyboy
0 Replies

8. UNIX for Dummies Questions & Answers

linx and Unix

Im new to Unix and Linx. This may be a stupid question.:p Is Unix and Linx very simlar. Where can I get my hands on Lynix and Unix??? Did'nt redhat used to be free at one stage. Sorry for all the question. :confused: :confused: (3 Replies)
Discussion started by: Evo
3 Replies
Login or Register to Ask a Question
XDestroyWindow(3)						  XLIB FUNCTIONS						 XDestroyWindow(3)

NAME
XDestroyWindow, XDestroySubwindows - destroy windows SYNTAX
int XDestroyWindow(Display *display, Window w); int XDestroySubwindows(Display *display, Window w); ARGUMENTS
display Specifies the connection to the X server. w Specifies the window. DESCRIPTION
The XDestroyWindow function destroys the specified window as well as all of its subwindows and causes the X server to generate a DestroyNo- tify event for each window. The window should never be referenced again. If the window specified by the w argument is mapped, it is unmapped automatically. The ordering of the DestroyNotify events is such that for any given window being destroyed, DestroyNotify is gen- erated on any inferiors of the window before being generated on the window itself. The ordering among siblings and across subhierarchies is not otherwise constrained. If the window you specified is a root window, no windows are destroyed. Destroying a mapped window will generate Expose events on other windows that were obscured by the window being destroyed. XDestroyWindow can generate a BadWindow error. The XDestroySubwindows function destroys all inferior windows of the specified window, in bottom-to-top stacking order. It causes the X server to generate a DestroyNotify event for each window. If any mapped subwindows were actually destroyed, XDestroySubwindows causes the X server to generate Expose events on the specified window. This is much more efficient than deleting many windows one at a time because much of the work need be performed only once for all of the windows, rather than for each window. The subwindows should never be refer- enced again. XDestroySubwindows can generate a BadWindow error. DIAGNOSTICS
BadWindow A value for a Window argument does not name a defined Window. SEE ALSO
XChangeWindowAttributes(3), XConfigureWindow(3), XCreateWindow(3), XMapWindow(3), XRaiseWindow(3), XUnmapWindow(3) Xlib - C Language X Interface X Version 11 libX11 1.5.0 XDestroyWindow(3)