05-18-2008
I'm guessing you want to telnet in to the UNIX box - a telnet class will do that.
This is not terribly secure. There are several of them out on the net, I cannot vouch for how well they work.
Because we chose:
A better choice would be to create a share on the UNIX box using samba, requiring authentication. Then the local Windows box can mount/dismount the share.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi
java packages or libraries which are being used on windows will they successfully run on unix environment.
import com.jscape.inet.smtp.*;
Import com.jscape.inet.email.*;
these are the two packages which i want to use. (1 Reply)
Discussion started by: parmeet
1 Replies
2. UNIX for Dummies Questions & Answers
How to set path for java in UNIX? (2 Replies)
Discussion started by: subhotech
2 Replies
3. Programming
At work we use HP-UX B.11.11 U (garnished from uname -a), but they have not installed a development environment for java. There is, however, a runtime environment set up. I've been attempting to overcome the beauracracy of getting a jdk installed, but we all know how nearly impossible that can be.... (4 Replies)
Discussion started by: nwboy74
4 Replies
4. Solaris
I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies
5. Shell Programming and Scripting
Hi all,
is there any way to return value from UNIX to JAVA application.
I have my source code like this:
application.java
Runtime runtime = Runtime.getRuntime();
Process p = runtime.exec(myscript);
myscript.sh
text="Hello World"
echo $text
How to return the "Hello World"... (3 Replies)
Discussion started by: suigion
3 Replies
6. Solaris
Hello Everyone,
I had a question which i would like to put over here.
I am on the track understanding and learning about Solaris
I have been learning for the past 3 months and at this stage i have realized to really master Unix, we can`t keep a blind eye to programming language.
I wish to... (1 Reply)
Discussion started by: akash_wish
1 Replies
7. Programming
Hi, I have got java 1.4.1 in my unix server, i wish to upgrade it to 1.4.2 version. I know how to do that in Windows, but it is the first time i am doing it in UNIX. Please tell me how to do it from command line?
Are there any environment variable to be set in unix as in windows?
Thanks in... (0 Replies)
Discussion started by: macmohanin
0 Replies
8. Programming
Under windows environment,I can compile C code into dll,then I can use Java to call this dll. I want to know whether Java can call C under Unix environment? How to do it? Where can I get example Java and C code?
Thanks (1 Reply)
Discussion started by: konvalo
1 Replies
9. Programming
Hi All,
Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question.
Thanks (1 Reply)
Discussion started by: aish11
1 Replies
10. Programming
Hello Good Day / Guten Tag....
I have to login the server and the user profile contains some scripts which need the inputs to be taken from the keyboard.
So I use the method to conn.authenticateWithKeyboardInteractive(username, new InteractiveCallback() {
public String... (1 Reply)
Discussion started by: Sanalkumaran
1 Replies
LEARN ABOUT CENTOS
telnet-probe
TELNET-PROBE(1) General Commands Manual TELNET-PROBE(1)
NAME
telnet-probe - lightweight telnet-like port probe
SYNOPSIS
$PCP_BINADM_DIR/telnet-probe [-c] [-v] host port
DESCRIPTION
telnet-probe allows the pmdashping(1) daemons to establish connections to arbitrary local and remote service-providing daemons so that
response time and service availability information can be obtained.
The required host and port number arguments have the same meaning as their telnet(1) equivalents.
The -c option causes telnet-probe to perform a connect(2) only. This skips the read(2) and write(2) exercise that would otherwise be done
after connecting (see below).
The -v option causes telnet-probe to be verbose while operating.
Once the telnet connection has been established, telnet-probe reads from stdin until end-of-file, and writes all the input data to the tel-
net connection. Next, telnet-probe will read from the telnet connection until end-of-file, discarding whatever data it receives. Then
telnet-probe exits.
To operate successfully, the input passed via telnet-probe to the remote service must be sufficient to cause the remote service to close
the connection when the last line of input has been processed, e.g. ending with ``quit'' when probing SMTP on port 25.
By default telnet-probe will not produce any output, unless there is an error in which case a diagnostic message can be displayed (in ver-
bose mode only) and the exit status will be non-zero indicating a failure.
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the
file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura-
tion file, as described in pcp.conf(5).
DIAGNOSTICS
If telnet-probe succeeds, then 0 will be returned. If the attempt to establish a connection fails or is terminated, then a non-zero exit
status is returned.
SEE ALSO
PCPintro(1), pmdashping(1), pmie(1), telnet(1), connect(2), read(2) and write(2).
Performance Co-Pilot PCP TELNET-PROBE(1)