Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Check processes running on remote server Post 303041508 by UnknownGuy on Tuesday 26th of November 2019 09:58:00 AM
Old 11-26-2019
The remote server which I am talking about is highly important server so our security team doesn't allow any incoming connection (ssh or similar tools ) to this system, so need to avoid that.

But, after considering all other options, I have decided to do scp from remote server to local server & provide input to my script, I was trying to avoid this but for now, this is the easiest & security approved solution.

If at all you guys have any better idea, do share. Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to check running processes on remote server.

Hi, I am trying to write a script, which queries a db to get the names of processes, stores it in a file and then checks if that process is running on a remote server. However I am not getting it right, could anyone help me out. #!/bin/sh echo "select Address from Device where Cust =... (5 Replies)
Discussion started by: amitsayshii
5 Replies

2. UNIX for Dummies Questions & Answers

How to check the status of the processes running for the current user?

Hi All, I am new to unix. Can anyone tell me "How to check the status of the processes running for the current user?" Regards, Ravindaran S (1 Reply)
Discussion started by: ravind27
1 Replies

3. Solaris

Running command on Remote server

Hi, I have username/password for a remote server. I would like to have list of filenames and their size in a particular directory of remote server. Now Problem is - I can not use rsh command as I can not modify rhost file of remote server. Thanks in advance. Sanjay (1 Reply)
Discussion started by: sanjay1979
1 Replies

4. Shell Programming and Scripting

check processes on remote system?

I have a script that counts the number of oracle processes running on the system: if then and it continues based on whether or not it finds running processes. Now we would like to move oracle to a separate server, but keep the application (and this script) on the old machine. Is there a... (9 Replies)
Discussion started by: Wotan31
9 Replies

5. Shell Programming and Scripting

check web server running on local and on remote machine

Hi , How to check whether web server is running from remote machine How to check whether web server is running on web server itself Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies

6. AIX

Need to check long running processes on the database server and the os is AIX

Hello, Please help me with a script with which I can check long running processes on the database server and the os is AIX. Best regards, Vishal (5 Replies)
Discussion started by: Vishal_dba
5 Replies

7. Shell Programming and Scripting

How to Append the output of a script running in remote server to a file in local server?

Hi guys, So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies

8. Shell Programming and Scripting

Check Running Processes

I want to check how many processes are running with same names and get their respective counts. ps -ef|grep -Eo 'process1|process2|process3| '|sort -u | awk '{print $2": "$1}' Output would look like : $ ps -ef|grep -Eo 'process1|process2|process3| '|sort | uniq -c | awk '{print $2":... (8 Replies)
Discussion started by: simpltyansh
8 Replies

9. Shell Programming and Scripting

Check if remote destination is available before running scp command

I have a script on a Linux box which scp the files to windows server without any issues. but there are time frames where the windows server will not be available due to maintenance. hence I need to check if the remote location is available before running the scp command. scp... (3 Replies)
Discussion started by: gpk_newbie
3 Replies

10. UNIX for Beginners Questions & Answers

How to check the processes running longer than 2 hours.?

HI can someone help me to check the process running more than 2 hours. I have the below command which shows the time and process id, however, I only need the processes running more than 2 hours. (8 Replies)
Discussion started by: Vinod
8 Replies
VDE_CRYPTCAB(1) 					      General Commands Manual						   VDE_CRYPTCAB(1)

NAME
vde_cryptcab - Virtual Distributed Ethernet encrypted cable manager SYNOPSIS
vde_cryptcab [ -p portnum ] [ -s socketpath ] [ -c [remote_user@]host[:remote_portnum] ] [ -P pre_shared.key ]| [ -x ] [ -v [v][v][v] ] [ -k ] [ -d ] DESCRIPTION
A vde_cryptcab is a distributed cable manager for VDE switches. It allows two VDE switches on two machines to communicate using a blowfish encrypted channel. When used in client mode (i.e., with -c option), it generates a random blowfish key, and uses scp (1) to transfer the key to the remote server. On the client side, the environment variable SCP_EXTRA_OPTIONS may be set in order to append options to the scp command line (this is use- ful for example when dropbear or another non-standard ssh client is used to transfer the blowfish key). After a 4-way handshake phase to verify client credentials, server and client will exchange VDE datagrams encapsulating them into crypto- grams that are sent via udp to each remote host. On server side, one could run: vde_cryptcab -s /tmp/vde2.ctl -p 2100 To start a multi-peer cryptcab server, accepting udp datagrams on port 2100, that connects each authenticated remote client to a different port of the switch. In fact, a new instance of vde_plug (1) is started and connected to the switch through local unix socket. The command vde_cryptcab -s /tmp/vde2.ctl -c foo@remote.machine.org:2100 will connect a client to the remote server, running on udp port 2100. At this point, on server side a verify for user "foo" credentials is required, typically it could be: host-based authentication, password challenge or public key authentication. See ssh (1) for more details about it. If the two vde_switches run as daemon and they are connected to tap interfaces a level 2 encrypted tunnel is established. OPTIONS
-p portnum It is possible to decide which local udp port to use. When this option is not specified, cryptcab will use default udp port number, 7667. -c [remote_user@]host[:remote_portnum] run vde_cryptcab in client mode, trying to connect to host . Both remote_user and remote_portnum parameters are not required. If not specified, the same user running vde_cryptcab is used for authentication on server, and default udp port 7667 is used. -s socketpath specify the UNIX socket to be used by local programs for joining the VDE. The default value is "/tmp/vde.ctl". -P pre_shared.keypath if specified, vde_cryptcab will run in pre-shared key mode, instead of generating a random key to transmit with ssh. Given option is the path to the pre-shared symmetric key file to use for data encryption. The same key has to be used on both client and server. -x Disable symmetric key encryption. -k Send periodic "keepalive" packets to avoid server timeouts. Useful when you want to keep a low-traffic link available. -d Run as daemon. -v Verbose. (Use -vv -vvv or -vvvv for more verbosity) KNOWN ISSUES
Encapsulating IP packets into session+udp layer results in real datagrams larger than tap device mtu. Since vde_cryptcab gets confused by packet fragmentation, the tap device mtu must be set to a smaller value than real interface mtu. Use ip(8) or ifconfig(8) to set up your tap device mtu. Explicitly disabling encryption leads to obvious security problems. It is advised to avoid unencrypted mode (-x) in non-controlled net- works. NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik" i.e. the German "Association for Electrical, Electronic & Information Technologies"). SEE ALSO
vde_switch(1), vdeq(1), vde_plug(1), vde_plug2tap(1), scp(1), ssh(1). AUTHORS
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>. vde_cryptcab is a VDE component by Daniele Lacamera <root@danielinux.net> Virtual Distributed Ethernet December 6, 2006 VDE_CRYPTCAB(1)
All times are GMT -4. The time now is 04:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy