I've actually had some time to look into this today, and with 'some help' from google I think I have it sorted out. Or will when I get the wrong lines right!
While I'm at it, could someone please explain why:
but-
gives no output? Or at least an empty line. Do I need to present the variable in brackets or quotes? I've tried every combination that makes sense from examples in help topics.
Thanks.
------ Post updated at 05:22 PM ------
Thanks folks so far...
Corona688, that certainly helps me set the flag.
RudiC, -o ConnectTimeout doesn't appear to be part of this branch of Debian.
Last edited by rbatte1; 11-28-2018 at 01:52 PM..
Reason: Added CODE tags
I have a linux box build11 which can be pinged from build18 (Windows) box. And we can only login to the box (using SSH) from build18 box. Plz help to characterize the problem, network, DNS, DHCP, etc (or whatever which I am unsure)
Any idea what may be the reason ? :confused:
Thanks in... (4 Replies)
i have this SSH command which runs perfectly on command prompt in sunOS
ssh -o Port=${portno} ${uname}@${server} find ${dir_path} -name '***'
output : /usr/local/home/***
My problem is when i run same command in my script
#!/usr/bin/ksh
res=`ssh -o Port=${portno} ${uname}@${server}... (1 Reply)
Hi,
I have a solaris 8 machine.
I see ssh is running in the machine
sbnismwp2# ps -aef | grep ssh
root 947 945 0 04:34:45 ? 0:00 /export/opt/SSHtecagt/sbin/ssh-mgmt-sysmonitor
root 945 1 0 04:34:45 ? 0:00 /export/opt/SSHtecagt/sbin/ssh-mgmt-agent... (11 Replies)
Hi,
I am writing a script on Solaris 10 and want to execute a remote ssh command. Normally this command should just return the value 0000000000002356 but when using ssh it seems it is passing the result to the shell to execute.
ssh root@10.5.112.145 `/usr/bin/nawk -F\, '$1=="USG" && $2=="01"... (3 Replies)
I have a Solaris 9 server that does not return a ping. When I try to log in via SSH I eventually get in. I am logged in now.
I know this is a wide open question, but can you recommend some things I should check?
.
Thanks in advance,
~R (2 Replies)
Hi all,
I am using the below code to ping a code and print whehter the connection is successful or not.
use Net::Ping;
$p = Net::Ping->new();
my $host = "x.x.x.x";
# print "$host is alive.\n" if $p->ping($host);
if ($p->ping($host,3))
{
print... (0 Replies)
Hello all,
I am writing a script that pings various machines to check connectivity.
If a machine is available, the prompt returns a result immediately:
root@ops # ping 172.21.5.5
172.21.5.5 is alive
BUT
if a machine is Down , the reply takes a long time to come. The issue is I want to... (1 Reply)
I cant ping to some of my machines, but ping works.
I attach screenshots. Port is open and it is 22.
I can't figure out why i cant access.
https://www.unix.com/attachments/unix-for-advanced-and-expert-users/7492d1541541072-cant-ssh-but-ping-works-sshlisten-jpg... (17 Replies)
Discussion started by: tomislav91
17 Replies
LEARN ABOUT DEBIAN
config::model::models::ssh::portforward
Config::Model::models::Ssh::PortForward(3pm) User Contributed Perl Documentation Config::Model::models::Ssh::PortForward(3pm)NAME
Config::Model::models::Ssh::PortForward - Configuration class Ssh::PortForward
DESCRIPTION
Configuration classes used by Config::Model
Configuration class that represents the parameters required to specify port forwarding in a ssh configuration.
Elements
ipv6
Specify if the forward is specified iwth IPv6 or IPv4. Optional. Type boolean.
bind_address - bind address to listen to
Specify the address that the port will listen to. By default, only connections coming from localhost (127.0.0.1) will be forwarded.
By default, the local port is bound in accordance with the GatewayPorts setting. However, an explicit bind_address may be used to bind the
connection to a specific address.
The bind_address of 'localhost' indicates that the listening port be bound for local use only, while an empty address or '*' indicates that
the port should be available from all interfaces.Optional. Type uniline.
port
Listening port. Connection made to this port will be forwarded to the other side of the tunnel.Mandatory. Type uniline.
host - host name or address
Mandatory. Type uniline.
hostport - destination port
Port number to connect the tunnel to.Mandatory. Type uniline.
SEE ALSO
o cme
AUTHOR
Dominique Dumont
COPYRIGHT
2009-2011 Dominique Dumont
LICENSE
LGPL2
perl v5.14.2 2012-10-29 Config::Model::models::Ssh::PortForward(3pm)