Sponsored Content
Operating Systems Linux Ubuntu Connecting to a remote server Post 302279539 by pludi on Friday 23rd of January 2009 03:38:49 AM
Old 01-23-2009
You could try a probe from external using tcptraceroute and check if it's being blocked somewhere on the way, but you'll probably get a definite answer if you call your ISP. That way you could also ask them if there's any other way for you to access your machine at home (sometimes they can get coaxed into opening a port).

SSH, FTP, and HTTP can use other ports if necessary, not sure about VNC, but from a security view I'd suggest to enable VNC only for localhost and using an SSH tunnel to connect.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Connecting to remote servers

Please advise, The previous thread asked about the automated transfer of files between two servers. The question is - is there any way of encrypting the password within the script or is it a matter of setting the permissions settings on the script so that it can only be executed and possibly... (1 Reply)
Discussion started by: rdbooth
1 Replies

2. Shell Programming and Scripting

connecting to remote db from unix script

Hi everybody, My bash script is trying to connect to a remote database using the 'sqlplus' binary.For this i set(export) the variable TWO_TASK to the value of database name excluding the dot extension part. Can anyone explain me what's the significance of this TWO_TASK variable while... (8 Replies)
Discussion started by: DILEEP410
8 Replies

3. Shell Programming and Scripting

Connecting to remote unix server using java?

I need help writing java code that can connect to a remote unix server, and run a script on that server. I have scoured the internet, but I have been unable to find proper documentation on how this can be accomplished. Any help is appreciated thanks. (1 Reply)
Discussion started by: developncode
1 Replies

4. Red Hat

How to know which application is connecting to a remote host

From a host A an application is trying to connect to host B. From firewall side I can see packets dropped coming from host A to host B. I've access to host A: how can I know which "application" is trying to connect to host B? Thanks, Marco (3 Replies)
Discussion started by: marcopb
3 Replies

5. UNIX for Dummies Questions & Answers

SQL block in a Shell Script connecting to a local and remote DB

Hi All, In a Shell scriipt with a SQL block I want to issue a query against a local DB and a remote DB on a remote server. The shell script is running locally. This is how I connect to the local server. But I want the query to reference remote table in the join. Question can I specify a... (1 Reply)
Discussion started by: daveu7
1 Replies

6. Shell Programming and Scripting

Connecting to remote host

Checking crontab job entry in 3 different hosts Hi Gurus, I am trying to connect to remote host from current host to check crontab entries. I have started like this ssh -n -l db2psp 205.191.156.17 ". ~/.profile >/dev/null 2>/dev/null; cd log ;ls | wc -l" I got this error ? ssh:... (1 Reply)
Discussion started by: rocking77
1 Replies

7. Shell Programming and Scripting

Sudo connect to a remote server and execute scripts in remote server

Hello Every one!! I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server. Before this I am using a sudo command to change the user. The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies

8. Shell Programming and Scripting

Error when connecting to remote server to find files with timestamp today's day

I am connecting to remote server and try to check if files with timestamp as Today's day are on the directory. Below is my code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly; Today=`date +%Y%m%d`; if ;then echo "We... (1 Reply)
Discussion started by: digioleg54
1 Replies

9. Shell Programming and Scripting

Script connect to remote server, not find files and exit only from remote server, but not from scrip

I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies

10. Programming

Connecting remote SSH server which OSS lib to choose ?

Hey i want to be able to write simple SSH client to be able to connect to SSH server and invoke remote SSH command i found libssh and libssh2 and the old openSSh , what is the best and most supported library to choose from ? i need it to be cross platform . Thanks (0 Replies)
Discussion started by: umen
0 Replies
vncsnapshot(1)								VNC							    vncsnapshot(1)

NAME
vncsnapshot - grab snapshots from VNC servers SYNTAX
vncsnapshot [options] host:display JPEG-file vncsnapshot [options] -listen local-display JPEG-file vncsnapshot [options] -tunnel host:display JPEG-file vncsnapshot [options] -via gateway host:display JPEG-file DESCRIPTION
VNC Snapshot is a command-line program for VNC. It will save a JPEG image of the VNC server's screen. This manual page documents version 1.2a of vncsnapshot. OPTIONS
-allowblank Allow blank (all black) images as snapshots. See -ignoreblank. -compresslevel level Compress network messages to level, if the server supports it. level is between 0 and 9, with 0 being no compression and 9 the maximum. The default is 4. -cursor Include the cursor in snapshots. Only effective if the remote server is a TightVNC version; otherwise ignored. -encodings list Use the given encodings. The default is "copyrect tight hextile zlib corre rre" or "raw copyrect tight hextile zlib corre rre" when VNC snapshot and the server are on the same machine. -ignoreblank Ignore blank (all black) screens; do not save the screen until a screen that is not all black is received. This is useful with some servers that send an initial all-black screen before sending the actual screen. This is the default. -jpeg Request the remote server to use JPEG-style encoding when sending the image, if possible. Currently only supported by TightVNC (and servers derived from it). This is the default. -nocursor Do not include the cursor in snapshots. Only effective if the remote server is a TightVNC version; otherwise ignored. This is the default. -nojpeg Request the remote server to not use JPEG-style encoding when sending the image, if possible. Currently only supported by TightVNC (and servers derived from it). -listen local-display Do not connect to a server; wait for the server to connect to the specified local "display". Cannot be used with -tunnel or -via options. -passwd filename Read encrypted password from filename instead of from the console. The filename can be made with the vncpasswd utility included with the vncsnapshot release. -quality quality Use the specified JPEG image quality (0-100) for the output file. The default is 100. -quiet Do not print any messages. Opposite of -verbose. -rect wxh+x+y Save a sub-rectangle of the screen, width w height h offset from the left by x and the top by y. A negative number for x or y makes it an offset from the opposite edge. A zero value for the width or height makes the snapshot extend to the right or bottom of the screen, respectively. The default is the entire screen. -tunnel Connect to the remote server via an SSH tunnel. Cannot be used with -listen or -via options. -via gateway Connect to the remote server via an SSH tunnel on the host gateway. Cannot be used with -listen or -tunnel options. -verbose Print messages; default. -vncQuality quality Use the specified image quality level (0-9) for tight encoding. The default is 9. Only effective if the remote server is a TightVNC version; otherwise ignored. -count number Take number snapshots; default 1. If greater than 1, vncsnapshot will insert a five-digit sequence number just before the output file's extension; i.e. if you specify out.jpeg as the output file, it will create out00001.jpeg, out00002.jpeg, and so forth -fps rate When taking multiple snapshots, take them every rate seconds; default 60. EXAMPLES
vncsnapshot anhk-morpork:1 unseen.jpg Get a snapshot of screen 1 from the server ahnk-morpork and save it in unseen.jpg. The entire screen is saved; the default transport is used. vncsnapshot -listen 0 portrait.jpeg Wait for a server to connect to this host (using "screen" 0), and then save the full screen image in portrait.jpeg. vncsnapshot -passwd ~/.vnc/passwd -rect 640x0+120+30 :1 subarea.jpeg Using ~/.vnc/passwd to get the server's password, connect to screen 1 on the local machine and save a rectangle 640 pixels high and extending to the right edge, offset 120 pixels from the left and 30 pixels down. vncsnapshot -rect 0x0-800-600 :1 pict.jpeg Get a snapshot that is 800 pixels from the right edge and 600 pixels from the bottom of the screen. It will extend to the screen edges, making it 800x600. Alternatively, the rectangle could be given as -rect 800x600-0-0, which specifies the same region. AUTHOR
Grant McDorman <grmcdorman@netscape.net> Based on TightVNC <http://www.tightvnc.com> and RealVNC <http://www.realvnc.com>. DISTRIBUTION
Source for vncsnapshot can be found at <http://vncsnapshot.sourceforge.net>. SEE ALSO
vncviewer(1), Xvnc(1), vncpasswd(1), vncconnect(1) Grant McDorman 1.0beta2 vncsnapshot(1)
All times are GMT -4. The time now is 10:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy