07-07-2002
Setting SSH port
How can I switch the port which SSH listens on?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a piece of equipment, a Baytech RPC-3, that I need to communicate with through the com port.
I normally use this equipment at home and am able to connect to it without problems using FC5 and minicom; I brought the equipment into work and cannot get my pc, using Suse 10 and minicom to... (0 Replies)
Discussion started by: thumper
0 Replies
2. AIX
I would like to implement the secure shell environment in order for me to close all telnet and ftp ports.
1) Anyone can assist to give me a steps of what to do so that I can implement the ssh on my AIX5.3 server.
2) Currently I have installed putty in my PC to replace telnet directly into the... (11 Replies)
Discussion started by: kwliew999
11 Replies
3. IP Networking
Hi all, one of my Sun Box facing the problem.
The network port i had set to Auto-Negotiated and i had edited the /etc/system/ file in the Sun box as below:
set hme:hme_adv_autoneg_cap=1
set hme:hme_adv_100fdx_cap=0
set hme:hme_adv_100hdx_cap=0
But when i checked the /var/adm/messages/, it... (0 Replies)
Discussion started by: AirWalker83
0 Replies
4. Solaris
Good day to you all.
I have a server (running on SunOS 5.8) that i always got into via telnet. I have eventually decided to block telnet access to it and instead look toward using SSH. The problem is, whne i establish the SSH connection via PuTTy, i get the "Log in as" prompt, but upon... (5 Replies)
Discussion started by: de049
5 Replies
5. IP Networking
Hello everyone.
I am supposed to configure port mirroring on Linux (the LAN traffic needs to be routed to the other interface and passed a copy to network monitoring software):
eth0 - connected to local traffic
eth1 - connected to the Internet
The machine is running CentOS v4.4 (Server... (1 Reply)
Discussion started by: reminiscent
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
Someone told me how to check the remote switch port's speed setting on the other end of the cable, from linux. I forgot it.
Anyone knows? I checked dmesg, ethtool (haven't checked this out thoroughly) , no luck.
thanks,
Marc (1 Reply)
Discussion started by: marcpascual
1 Replies
7. IP Networking
Hello,
I want to add a port in the firewall exception list so that my application can be accessed over network even if firewall is disabled. I am using iptables command to add exception.
The problem is, after setting the rule if I change the firewall setting i.e. on/off then it is overwriting... (1 Reply)
Discussion started by: senrooy
1 Replies
8. IP Networking
Hi Linux/Unix Guru,
I am setting Linux Hopping Station to another different servers.
My current config to connect to another servers is using different port to connect.
e.g
ssh -D 1080 -p 22 username@server1.com
ssh -D 1081 -p 22 username@server2.com
Now what I would like to have... (3 Replies)
Discussion started by: regmaster
3 Replies
9. Red Hat
I have 1 serial port (9 Pin) attached with my Linux server.If I give
$dmesg | grep tty , it provides me the following.
ttyS0 and ttyS1.
I have 1 COM port with my server mother board. I have 1 customized application
that requires this COM port to be used.
The parameter to be set for COM port... (4 Replies)
Discussion started by: Anjan Ganguly
4 Replies
10. Red Hat
I am trying to change the setting of serial port baud rate in Red Hat Linux 5.9 by the following command.
>> stty 9600 cs8 -parenb -ixon -cstopb -echo -F /dev/ttyS0
The serial port will be used by our custom application in 2 separate servers which are the replica of one another.
The port setting... (2 Replies)
Discussion started by: Anjan Ganguly
2 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)