10-17-2010
Did you configure your sshd daemon ?
can you ping your target serv from your win terminal ?
To transfer files between a windows and a unix machine : filezilla or winscp
10 More Discussions You Might Find Interesting
1. Solaris
I am currently setting up rdiff-backup to use ssh to connect and remotely backup and retrieve data. I am doing so by creating rsa keys for each server and copying the relevant key to the /.ssh folder on the relevant server.
All seems to work well when severs running solaris 8 with ssh 3.6.1 are... (6 Replies)
Discussion started by: falklandtim
6 Replies
2. UNIX for Advanced & Expert Users
Hi
Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH
I would like to know how to go abt it...am new to it.
Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies
3. Shell Programming and Scripting
Hi All,
I've a log file call netbackup.log in all the 5 servers in location usr/netbackup.log. I dont want to login in each server and check the log file. So i wanted to have a script written to have the log information at one place.
I want to have the last 2 lines from the file... (2 Replies)
Discussion started by: suri.tyson
2 Replies
4. Shell Programming and Scripting
Hi All,
Here i am having a problem in my script....:)
i have one script which will connect from my linux box to antoher linux box..
let say...currently i am in 55.23.621.123
and i want to connect to another box which is 55.23.621.118
as we know we can connect using ssh... (2 Replies)
Discussion started by: Shahul
2 Replies
5. Shell Programming and Scripting
Hi all,
I have a script written successfully and tuned by our members, now I am trying to execute this script from a taxi server.
My aim is I want to connect to four servers via ssh where I want to ran a script or run some commands and write the output to a file in the Taxi server.
I... (12 Replies)
Discussion started by: senthilkumar_ak
12 Replies
6. Programming
Hi I have been trying to connect a remote linux server in a java program through ssh. Can anyone tell me the proper library to include?
Thanks
Ananth (0 Replies)
Discussion started by: Ananthdoss
0 Replies
7. IP Networking
My VPN setup requires me to allow users via IP in the firewall, before they can access the VPN via SSH.
The problem is that my home IP is dynamic, and I have to re-add it every time I reconnect.
Any ideas? (2 Replies)
Discussion started by: rlopes
2 Replies
8. UNIX for Advanced & Expert Users
We have 2 different servers say A and B and I want to check the log file of 2 servers simultaneously.
If I am logged into server A how can I connect to server B.
I have used ssh username@B.But it is asking password. How can I give the password on ssh.
Or is there any other utility for... (2 Replies)
Discussion started by: jim john
2 Replies
9. UNIX for Advanced & Expert Users
Dear Experts,
I am writing a batch script to transfer files from server AA to BB without prompting for password. Already, ssh keys have been generated in BB and public key of BB has been stored in AA as part of some other project requirement. So, I thought of reusing this. I can now transfer... (6 Replies)
Discussion started by: ss112233
6 Replies
10. Red Hat
i have been learning linux from some time for linux plus exam and learned SSH protocol and have practised to connect to remote computer within Lan network and able to sucesssfully connect it .
using
ssh username@hostname
But i wish to ask how do i use same ssh protocol to connect to other ... (6 Replies)
Discussion started by: lobsang
6 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)