Sponsored Content
Full Discussion: A doubt with SSH
Top Forums UNIX for Dummies Questions & Answers A doubt with SSH Post 302459693 by KRB on Tuesday 5th of October 2010 08:00:15 AM
Old 10-05-2010
ssh spdma505.so@ip_address

it will prompt you to enter password
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

doubt in "ssh"

Hello sir, Im using a FEDORA 9 system. We can invoke the terminal of any user using ssh.For example for the local domain :- My req. is that I want to open the terminal and see that a command runs in the terminal that is opened. Eg: I want to invoke a terminal and run "ls". instead of typing... (11 Replies)
Discussion started by: nsharath
11 Replies

2. UNIX for Dummies Questions & Answers

doubt in ssh command for remote login

Hello sir, Im using ubuntu distro. We all know that ssh is used for password less entry.So, I have the public key and the IP address and the username thats it. Now to login it to the system either I should have password or a private key.Now I have the blacklist of private/public keys. But I dont... (1 Reply)
Discussion started by: nsharath
1 Replies

3. Shell Programming and Scripting

ssh doubt..

Hi, I want to remove some package in a remote server, I am executing as the below script ssh -q REMOTE_SERVER "pkgrm PKGNAME" but it is asking can you confirm for the removal of pkg? so is this respose will go to REMOTE_SERVER and remove the package? Thanks Bala Use CODE-tags... (3 Replies)
Discussion started by: balamv
3 Replies

4. Solaris

Doubt regarding SSH

Hi, I started my ssh daemon on my new built host, but still am not able to do ssh. Can you please let me know what file do I need to add my hostname for enabling the SSH. (4 Replies)
Discussion started by: rogerben
4 Replies

5. Ubuntu

SSH and VPM Doubt

hI MY Nerd folks...i have ubuntu 10.4 in my machine...i want to use open shh in my latop for the sake of being complete anonymous...but am just a noob anyont got any tips for me for the complete steps or for How to LInks ...watever..thanks in advance (4 Replies)
Discussion started by: surensach
4 Replies

6. Shell Programming and Scripting

Small doubt for using wget cia SSH!!!

Hi Guys, I have just ran into a small problem where I am trying to ssh to another server and the script does a wget on that server. Following is the syntax I am using though it's not working as expected. A normall wget on the local system simply shows the verbose output in one horizontal line... (2 Replies)
Discussion started by: rockf1bull
2 Replies

7. Shell Programming and Scripting

Ssh = ssh expect and keep everything not change include parameter postion

I have write a script which contains ssh -p 12345 dcplatform@10.125.42.50 ssh 127.0.0.1 -p 5555 "$CMD" ssh root@$GUEST_IP "$CMD" before I use public key, it works well, now I want to change to "expect", BUT I don't want to change above code and "parameter position" I can post a... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

8. UNIX for Beginners Questions & Answers

Ssh script to validate ssh connection to multiple serves with status

Hi, I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not... I have .sh script like below and i have servers.txt contains all the list of servers #/bin/bash for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies

9. Shell Programming and Scripting

Find active SSH servers w/ ssh keys on LAN

Hi, I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step: #!/bin/bash # LAN SSH KEYS DISCOVERY SCRIPT </etc/passwd \ grep /bin/bash | cut -d: -f6 | sudo xargs -i -- sh -c ' && cat... (11 Replies)
Discussion started by: syrius
11 Replies
IPSEC_PORTOF(3) 					     Library Functions Manual						   IPSEC_PORTOF(3)

NAME
ipsec_portof, ipsec_setportof, ipsec_sockaddrof, ipsec_sockaddrlenof - get port field of an ip_address, set port field of an ip_address, get pointer to internal sockaddr of an ip_address, get length of internal sockaddr of an ip_address SYNOPSIS
#include <libreswan.h> int portof(const ip_address *src); void setportof(int port, ip_address *dst); struct sockaddr *sockaddrof(ip_address *src); size_t sockaddrlenof(const ip_address *src); DESCRIPTION
The <libreswan.h> internal type ip_address contains one of the sockaddr types internally. Reliance on this feature is discouraged, but it may occasionally be necessary. These functions provide low-level tools for this purpose. Portof and setportof respectively read and write the port-number field of the internal sockaddr. The values are in network byte order. Sockaddrof returns a pointer to the internal sockaddr, for passing to other functions. Sockaddrlenof reports the size of the internal sockaddr, for use in storage allocation. SEE ALSO
inet(3), ipsec_initaddr(3) DIAGNOSTICS
Portof returns -1, sockaddrof returns NULL, and sockaddrlenof returns 0 if an unknown address family is found within the ip_address. HISTORY
Written for the FreeS/WAN project by Henry Spencer. BUGS
These functions all depend on low-level details of the ip_address type, which are in principle subject to change. Avoid using them unless really necessary. 8 Sept 2000 IPSEC_PORTOF(3)
All times are GMT -4. The time now is 03:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy