03-24-2017
Starting SSH in UNIX
I have been working on my UNIX box for just over 1 month.
The issue I am having, I cannot get my SSH to start on the system.
I have a few rsync programs that are depending on SSH.
Can anyone please let me know how to get SSH started back?
Any assistance will be much appreciated.
Thanks
9 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hi there, sorry that this is a really dumb question from a UNIX newbie, but here goes.
How do I start MS Windows (I think it is NT) from UNIX?
The school I work for has a network server that has a UNIX shell (I think that is what it is called) and has some form of Windows on it (I think it... (5 Replies)
Discussion started by: gorilla
5 Replies
2. Shell Programming and Scripting
I was wondering if there is a unix version of an autoexec.bat, if there is where will it be?
I am new to unix so please be gentle!! (9 Replies)
Discussion started by: imshelpdesk
9 Replies
3. UNIX for Dummies Questions & Answers
i am trying to learn cgi script (perl), i think to do this i need to download a unix system,/acccount, which i have tried to do on XP without success. Can any one point me in the right direction on how i get started.
i.e what do i need to do to actually write cgi script for my website.
cheers... (4 Replies)
Discussion started by: rerkskin
4 Replies
4. AIX
Hi all
while giving command ssh start i am getting following error
exec(): 0509-036 Cannot load program ssh because of the following errors:
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.0.9.7) could not be loaded.
0509-152 Member... (4 Replies)
Discussion started by: kmalla
4 Replies
5. Shell Programming and Scripting
Hello,
I need to run a command on remote Linux using the ssh command from my local machine. I am able to execute the command on remote machine using ssh but it's behaving strangely.
The command is supposed to start a daemon process on remote linux box and the control should return back to me... (5 Replies)
Discussion started by: nitinshukla
5 Replies
6. Shell Programming and Scripting
Dear ALL!
i have just started learing UNIX.
Can anyone pls let me how to write a program using command line to give product of two numbers /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman;... (1 Reply)
Discussion started by: chature
1 Replies
7. Shell Programming and Scripting
Dear ALL!
i have just started learing UNIX.
Can anyone pls let me how to write a program using command line to give product of two numbers ?
The program should ask like enter first no and so on.
Also,i want to know a program which can display the digits entered in words.
Like if entered "1"... (2 Replies)
Discussion started by: chature
2 Replies
8. Shell Programming and Scripting
I'm trying to ssh into a remote server, run a script which may or may not start a nohup'd background process and then exit leaving the process running on the remote server. I'm looping through a number of servers to do this but the script hangs as soon as it comes to a server where the remote... (3 Replies)
Discussion started by: Steve_H
3 Replies
9. Shell Programming and Scripting
Hi all,
Case 1:
./Myscript.sh param (on a first node)
Another node: (In parallel i run the same script)
./Myscript.sh param (on a second node)
Case2:
From my host, using ssh:
for i in $(seq $nb_lignes) (0 Replies)
Discussion started by: chercheur111
0 Replies
LEARN ABOUT DEBIAN
net::openssh::compat::perl
Net::OpenSSH::Compat::Perl(3pm) User Contributed Perl Documentation Net::OpenSSH::Compat::Perl(3pm)
NAME
Net::OpenSSH::Compat::Perl - Net::OpenSSH adapter for Net::SSH::Perl API compatibility
SYNOPSIS
use Net::OpenSSH::Compat::Perl qw(:supplant);
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new('host');
$ssh->login($user, $passwd);
my ($out, $err, $rc) = $ssh->cmd($cmd);
DESCRIPTION
This module implements a subset of Net::SSH::Perl API on top of Net::OpenSSH.
After the module is loaded as...
use Net::OpenSSH::Compat::Perl qw(:supplant);
... it supplants the Net::SSH::Perl module as if it were installed on the machine using Net::OpenSSH under the hood to handle SSH
operations.
Setting defaults
The hash %Net::OpenSSH::Compat::Perl::DEFAULTS can be used to set default values for Net::OpenSSH and other modules called under the hood
and otherwise not accesible through the Net::SSH::Perl API.
The entries currently supported are:
connection => [ %opts ]
Extra options passed to "Net::OpenSSH::new" constructor.
Example:
$Net::OpenSSH::Compat::SSH::Perl::DEFAULTS{connection} =
[ ssh_path => "/opt/SSH/bin/ssh" ];
BUGS AND SUPPORT
This is a work in progress.
"register_handler" method is not supported.
Net::SSH::Perl submodules (i.e. Net::SSH::Perl::Channel) are not emulated.
Anyway, if your Net::SSH::Perl script fails, fill a bug report at the CPAN RT bugtracker
(https://rt.cpan.org/Ticket/Create.html?Queue=Net-OpenSSH-Compat <https://rt.cpan.org/Ticket/Create.html?Queue=Net-OpenSSH-Compat>) or just
send me an e-mail with the details.
Include at least:
1 - The full source of the script
2 - A description of what happens in your machine
3 - What you thing it should be happening
4 - What happens when you use the real Net::SSH::Perl
5 - The version and name of your operating system
6 - The version of the OpenSSH ssh client installed on your machine ("ssh -V")
7 - The Perl version ("perl -V")
8 - The versions of the Perl packages Net::OpenSSH, IO::Pty and this Net::OpenSSH::Compat.
Git repository
The source code repository is at https://github.com/salva/p5-Net-OpenSSH-Compat <https://github.com/salva/p5-Net-OpenSSH-Compat>.
My wishlist
If you like this module and you're feeling generous, take a look at my Amazon Wish List: <http://amzn.com/w/1WU1P6IR5QZ42>
Also consider contributing to the OpenSSH project this module builds upon: <http://www.openssh.org/donations.html>.
COPYRIGHT AND LICENSE
Copyright (C) 2011 by Salvador Fandin~o (sfandino@yahoo.com)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-02-24 Net::OpenSSH::Compat::Perl(3pm)