Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Can we build a tool for Windows to retrieve data from UNIX servers (putty console) Post 302910856 by Perderabo on Monday 28th of July 2014 02:54:30 PM
Old 07-28-2014
Read your putty documentation again. Chapter 9 describes using pagent to supply authentication. Once pagent is running you can do stuff like this:
Code:
C:\Windows\System32>
C:\Windows\System32>
C:\Windows\System32>plink joeblow@corp-linux4  uname -a
Linux corp-linux4.dulles.orbital.com 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64

C:\Windows\System32>

This means you can write batch files (or powershell or vbscript, etc) that log into a unix system and run a command.
These 2 Users Gave Thanks to Perderabo For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server

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)
Discussion started by: madhunk
5 Replies

2. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

: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)
Discussion started by: wbdevilliers
1 Replies

3. UNIX for Dummies Questions & Answers

tool scan my network and get all Unix servers

Hello, is there any tool where I can scan my netwrk and get all types of Unix servers? (2 Replies)
Discussion started by: fsmadi
2 Replies

4. UNIX for Dummies Questions & Answers

startX windows application during boot.....putty connection takes the windows

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)
Discussion started by: venkat_330
1 Replies

5. Shell Programming and Scripting

regarding Color scheme in linux console connected through putty.

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)
Discussion started by: Sooraj_Linux
6 Replies

6. Solaris

M5000 XSCF Console disconnecting when putty session is closed

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)
Discussion started by: giles.cardew
6 Replies

7. 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

8. Shell Programming and Scripting

How can i run sql queries from UNIX shell script and retrieve data into text docs of UNIX?

Please share the doc asap as very urgently required. (1 Reply)
Discussion started by: 24ajay
1 Replies

9. UNIX for Dummies Questions & Answers

I need to build a tool for Automatic GUI Validation

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)
Discussion started by: srkmish
3 Replies
rsvpstat(8)						      System Manager's Manual						       rsvpstat(8)

NAME
rsvpstat - Display resource reservation status SYNOPSIS
/usr/sbin/rsvpstat [-nv46PT] [sess_num [phop_num | tcs_num]] /usr/sbin/rsvpstat [-nv46SRxl] [sess_num [phop_num | tcs_num | snd_num | rcv_num]] OPTIONS
Displays network addresses in numeric form. Specifies verbose mode. Displays information related to Internet Protocol Version 4 (IPv4) sessions only. Displays information related to Internet Protocol Version 6 (IPv6) sessions only. Displays previous hop information. Dis- plays traffic control state information. Displays sender information. Displays receiver information. Displays senders and receivers for a given sess_num and phop_num or tcs_num. Displays senders and receivers running on this host. Specifies a session number. This is required with the -x option. Specifies the number of a previous hop (PHOP). Specifies a traffic control state number. Specifies a sender number. Specifies a receiver number. DESCRIPTION
The rsvpstat utility displays the Resource ReSerVation Protocol (RSVP) state on the local system. By default, rsvpstat displays a list of all RSVP sessions. Alternatively, you can specify either the -P, -T, -S, or -R option to list the previous hop, traffic control state, sender, or receiver information, respectively. If you specify the -v option in conjunction with -P, -T, -S, or -R option, rsvpstat displays the content of all the associated RSVP objects or Integrated Services objects. If you specify the -4 or -6 option, rsvpstat displays information pertaining to IPv4 or IPv6 sessions, respectively, only. You can restrict the amount of information displayed further if you specify the -l or -x option and up to two additional arguments described in the OPTIONS section. You can also specify up to two arguments without specifying the options. When no rsvpd daemon is running on the system, rsvpstat returns the following error message: rsvpstat: cannot connect to RSVP daemon EXAMPLES
In the following examples, the values for the sess_nr, hop_nr, tcs_nr, rcv_nr, and snd_nr fields are identification numbers assigned by the RSVP daemon, and are not significant to the RSVP protocol. To display session information, enter: % rsvpstat IPv4 sessions sess_nr dest prot port PATH RESV ============================================================= 2 host1.corp.com UDP 9999 1 1 Each entry lists the session address, IP protocol, port number, and the number of PATH and RESV states for the given session. To display verbose previous hop information, enter: % rsvpstat -Pv IPv4 phops hop_nr prev_hop_addr lih rsvp_hop ========================================================= --- sess_nr 1 to host1.corp.com UDP port 9999 2 host2.corp.com 7 yes rsvp hop host1.corp.com lih 7 refresh period 30000ms style FF flowspec (28 bytes of parameters) controlled load svc: <tb_tspec r=137000 b=4000 p=137000 m=528 M=548> filterspec IPv4 addr host2.corp.com port 1745 A previous hop is an RSVP-capable system from which PATH messages are received. Previous hops are displayed by session, with a ses- sion header preceding the associated list of previous hops. The hop_nr value is relative to the session. Information for each previous hop includes its hop_nr, address, and logical interface handle, and rsvp_hop information. If rsvp_hop value is yes, the hop is a direct neighbor; if no, rsvpstat detected an automatic tunnel. In verbose mode, rsvpstat displays the contents of the RSVP RESV message that is sent back to the previous hop. It is the result of merging all relevant reservations for the previous hop. To display traffic control state information, enter: % rsvpstat -T IPv4 Traffic Control State tcs_nr rhandle if options =================================== --- sess_nr 2 to host1.corp.com UDP port 9999 1 0xfffffc00037b4500 1 A traffic control state (TCS) is created as a result of accepting one or more reservation requests. Traffic control states are dis- played by session, with a session header preceding the associated list of TCSs. The tcs_nr is relative to the session. For each TCS, rsvpstat displays the tcs_nr, rhandle, interface index, and policing options (see RFC 2205 for more information). When the rhandle is non-zero, the interface is traffic control capable and a reservation is in place. You can use the iftcntl command to obtain more information about the reservation. In verbose mode, rsvpstat displays the flowspec and tspec used to install the reservation. They are the result of merging flowspecs and tspecs of all associated RESV messages. To display receiver information, enter: % rsvpstat -R IPv4 receivers rcv_nr next_hop_addr lih if tcs_nr =========================================================== --- sess_nr 1 to host1.corp.com UDP port 9999 1 host1.corp.com 7 1 1 Receiver information is displayed by session, with a session header preceding the associated list of receiver information. The rcv_nr is relative to the session. RESV messages containing more than one filterspec are split up and a different rcv_nr is created for each filterspec. For each rcv_nr, rsvpstat displays the contents of the RSVP HOP message (next_hop_addr and logical interface handle) received as part of the RESV message, the interface on which the RESV message has been received, and the tcs_nr of the associated traffic con- trol state. In verbose mode, rsvpstat displays all the other contents of the RESV message from which this receiver information has been derived. To display verbose sender information, enter: % rsvpstat -Sv IPv4 senders snd_nr src port ttl =============================================== --- sess_nr 1 to host1.corp.com UDP port 9999 2 host2.corp.com 1745 29 rsvp hop host2.corp.com lih 7 refresh period 30000ms tspec (28 bytes of parameters) general info: <tb_tspec r=137000 b=4000 p=137000 m=528 M=548> adspec (40 bytes of parameters) general info: hop_cnt=1 path_bw=625000 min_latency=-1 composed_mtu=1500 controlled load svc: Sender information is displayed by session, with a session header preceding the associated list of sender information. The snd_nr is relative to the session. For each sender, rsvpstat displays the source address, port number (or IPv6 flowlabel), and IPv4 ttl / IPv6 hop limit value. In verbose mode, rsvpstat displays all the other contents of the PATH message that corresponds to this sender. SEE ALSO
Commands: iftcntl(8) Daemons: rsvpd(8) RFC 2205, Resource ReSerVation Protocol (RSVP) - Version 1 Functional Specification RFC 2210, The Use of RSVP with IETF Integrated Services rsvpstat(8)
All times are GMT -4. The time now is 07:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy