10-22-2004
Excellent Sir, It worked. however when I shell out to another box or same box with different user it doesn't show the new information. So may be I should keep it in the .profile to make it work?
Thanks
Suresh
10 More Discussions You Might Find Interesting
1. Solaris
I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details:
FTP Client has Sun SSH.
FTP Server has F-Secure.
I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error
scp:... (2 Replies)
Discussion started by: ftpguy
2 Replies
2. AIX
If I use SSh Secure File Transfer tool on Windows, I want to transfer file from windows to AIX without password, how to do it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies
3. Windows & DOS: Issues & Discussions
Dear All ,
I want to Access my office computer form the home.
The enviourment is like the following :
1- From my home I connect for the office via VPN connection to Unix server lets say it's IP is 11.11.11.11 and till now every thing is OK and I can access the machine normally .
2- In my... (3 Replies)
Discussion started by: habuzahra
3 Replies
4. UNIX for Advanced & Expert Users
hi,
what is the difference between logging into unix through f-secure ssh client and telnet
is there any more security check is involved
can any one explain
thanks in advance (1 Reply)
Discussion started by: trichyselva
1 Replies
5. AIX
I am a new user and i wish to connect to a unix(AIX) server from a windows client using ssh.A detailed solution would be highly appreciated. (1 Reply)
Discussion started by: ajayb3004
1 Replies
6. Shell Programming and Scripting
Hi,
How to change the value after the symbol '@' ?
$
i.e. @mac1
I want to change it to @prod2
Also need to change the same in the title bar on the top when we open a new terminal. (3 Replies)
Discussion started by: milink
3 Replies
7. UNIX for Dummies Questions & Answers
Not sure exactly where to post this, so I apologize if this is incorrect.
I have recently installed Reflection X v14.1 as an X windows client. While this may sound trivial, I have found that if you are connected to multiple servers, only 1 desktop is used. If anyone happens to know much about... (3 Replies)
Discussion started by: niswonp
3 Replies
8. Ubuntu
Hello forum,
Seems that only I have alot of questions regarding Ubuntu :D
In Ubuntu 12.04 LTS the gnome I have been using gdm and lightdm.
In lightdm the top and side bars are aka "unity" and can be removed using apt-get remove unity
I need to do the same for menu bars gdm. I do not... (0 Replies)
Discussion started by: br1an
0 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am facing problems whie trying to do a passwordless ssh to Unix box from windows. Public key was generated using F-secure. When the F-secure client attempts it connects without password but when I try to use sftp2 in command line it prompts for password.
I have tried several options and... (0 Replies)
Discussion started by: dhrajj
0 Replies
10. Linux
Hi,
I am facing problems whie trying to do a passwordless ssh to Unix box from windows. Public key was generated using F-secure. When the F-secure client attempts it connects without password but when I try to use sftp2 in command line it prompts for password.
I have tried several options and... (3 Replies)
Discussion started by: dhrajj
3 Replies
LEARN ABOUT CENTOS
libssh2_channel_direct_tcpip_ex
libssh2_channel_direct_tcpip_ex(3) libssh2 manual libssh2_channel_direct_tcpip_ex(3)
NAME
libssh2_channel_direct_tcpip_ex - Tunnel a TCP connection through an SSH session
SYNOPSIS
#include <libssh2.h>
LIBSSH2_CHANNEL * libssh2_channel_direct_tcpip_ex(LIBSSH2_SESSION *session, const char *host, int port, const char *shost, int sport);
LIBSSH2_CHANNEL * libssh2_channel_direct_tcpip(LIBSSH2_SESSION *session, const char *host, int port);
DESCRIPTION
session - Session instance as returned by libssh2_session_init_ex(3)
host - Third party host to connect to using the SSH host as a proxy.
port - Port on third party host to connect to.
shost - Host to tell the SSH server the connection originated on.
sport - Port to tell the SSH server the connection originated from.
Tunnel a TCP/IP connection through the SSH transport via the remote host to a third party. Communication from the client to the SSH server
remains encrypted, communication from the server to the 3rd party host travels in cleartext.
RETURN VALUE
Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
SEE ALSO
libssh2_session_init_ex(3)
libssh2 0.15 1 Jun 2007 libssh2_channel_direct_tcpip_ex(3)