Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Is it possible for a server to be both a remote and client SSH host? Post 302268988 by tatchel on Tuesday 16th of December 2008 04:09:05 PM
Old 12-16-2008
Yes, that's correct.

Thanks.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

check ssh connection to remote host

I am using KSH and I need to check whether the remote host has been configured with ssh public key. Is there any way we can check inside a script? (6 Replies)
Discussion started by: praveenbvarrier
6 Replies

2. Linux

Access environment variables on remote host using ssh

How can i access environment variables on remote host using ssh example: # Remote server $ echo $MAIL /var/spool/mail/gacf $ # Local server $ ssh gacf@server1 'echo $MAIL' /var/mail/gacf $ Expected to find: $ ssh gacf@server1 'echo $MAIL' /var/spool/mail/gacf $ (3 Replies)
Discussion started by: brendan76
3 Replies

3. Shell Programming and Scripting

ssh to a remote host

i want a script with expect or perl or shell which will do ssh to remote host...it will take commandline argument and run the script in remote host....... i.e that will be like ./ssh.exp remoteip username passwd /tmp.kk.sh can someone help me on this? (1 Reply)
Discussion started by: Aditya.Gurgaon
1 Replies

4. Shell Programming and Scripting

ssh to remote host and execute command

Hi, could anyone please tell me how to ssh to remote host foo and execute command on it and print the result on local host? Thanks, Paresh (1 Reply)
Discussion started by: masaniparesh
1 Replies

5. Solaris

unable to ssh to remote host

server is ok, I can login on console. however, when I use SSH teachia, there is no repsond. i have check ps-ef | grep ssh, it shows ok. restart ssh too. still not working. Anything else I need to check? # ps -ef | grep ssh root 24706 1 0 Jun 12 ? 0:00... (7 Replies)
Discussion started by: uuontario
7 Replies

6. Shell Programming and Scripting

ssh can't back from remote host during script execution

Hi all I wrote a script to execute a script on several remote hosts, but somehow during the execution of the local script, ssh can't come back from the remote host, so that causes my local script hanging... I use the below command to do the job in the local script, any idea? ssh... (12 Replies)
Discussion started by: bzylg
12 Replies

7. UNIX for Advanced & Expert Users

Help! How to find the local host after few ssh hops to remote host???

I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1. When I do a who -m from A2, I see the "connected from" as "A1". => who -m userid pts/2 2010-03-27 08:47 (A1) I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies

8. Shell Programming and Scripting

Aggregate variables bdfore ssh into remote host

Hi all, I have a problem where i'm trying to identify on which remote hosts the apps are running, ssh into it and restart them. In case more than 1 apps is running on same remote host, i want to be able to group it and ssh only once. E.g: app1 = 1.1.1.1 app2 = 1.1.1.2 app3 =... (4 Replies)
Discussion started by: varu0612
4 Replies

9. Shell Programming and Scripting

Execute command on remote host via ssh

How should i make the following code working #!/bin/bash INPUTFILE="test.txt" while read STRING; do IP=`host -t A $STRING | awk '{print $NF}'` HOSTNAME=`ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no $IP "hostname"` echo $HOSTNAME > out.txt done < $INPUTFILE At this moment while... (3 Replies)
Discussion started by: urello
3 Replies

10. IP Networking

SSH to remote host using SOCK5 proxy

I am trying to connect to a remote host C from my node host A. HostA <====> HostB <====> HostC A tunnel has already been formed using SOCKS5 between HostA and HostC. Now I want to SSH from A to C. The SOCKS5 IP us 142.133.132.161 and port 1082. The command I am using is : ssh -L... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
SCALBN(3)						   BSD Library Functions Manual 						 SCALBN(3)

NAME
scalbn, scalbnf, scalbnl -- exponent using FLT_RADIX LIBRARY
Math Library (libm, -lm) SYNOPSIS
#include <math.h> double scalbn(double x, int n); float scalbnf(float x, int n); long double scalbnl(long double x, int n); DESCRIPTION
The scalbn(), scalbnf(), and scalbnl() functions compute x * r^n, where r is the radix of the machine's floating point arithmetic, defined by the FLT_RADIX constant in <float.h>. The rationale is efficiency; r^n is not computed explicitly. RETURN VALUES
As described above, upon successful completion, the described functions return the exponent computed using FLT_RADIX. Otherwise the follow- ing may occur: 1. When the result would cause an overflow, a range error occurs and +-HUGE_VAL, +-HUGE_VALF, or +-HUGE_VALL is returned according to the sign of x and the return type of the corresponding function. 2. When the correct value would cause an underflow and it is not representable, a range error occurs and either 0.0 or an implementa- tion-defined value is returned. When an underflow occurs but the correct value is representable, a range error occurs but the correct value is returned. 3. If x is +-0 or +-Inf, x is returned. Likewise, if n is zero, x is returned. If x is NaN, NaN is returned. SEE ALSO
exp(3), frexp(3), ldexp(3), math(3) STANDARDS
The described functions conform to ISO/IEC 9899:1999 (``ISO C99''). BSD
September 18, 2011 BSD
All times are GMT -4. The time now is 04:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy