07-08-2009
Quote:
Originally Posted by
wwwzviadi
Cant install ssh on AIX 5.3 is there any easy way to solve the problem??
The easy way is: use the search function in the top right corner of this forum. The answer to your question has been given many times before.
10 More Discussions You Might Find Interesting
1. Solaris
Hi All,
I was following an instructions in the Installing OpenSSH Packages - SPARC and Intel/Solaris 8 regarding ssh installation on Solaris 8.
When I got on "Step Five: Installing ssh and sshd" and run the following:
# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
PRNG is not... (2 Replies)
Discussion started by: itik
2 Replies
2. AIX
Hi Friends
I am trying to install ssh in one of my AIX4.3 server.
I downloaded openssh and openssl from IBM site. While installing them openssh failed.
The lpcheck command display looks like this:
# lppchk -v
lppchk: The following filesets need to be installed or corrected to bring
... (5 Replies)
Discussion started by: efunds
5 Replies
3. Linux
Hi...
I am trying to install SSH Tectia on Linux,post installation when i try to login i am getting the error ''Linux box is going out of network...please advise (1 Reply)
Discussion started by: Pavan Pusuluri
1 Replies
4. AIX
When i logged in system by ssh but if failed.It have a warning "connection refused".Can you help me,please,thanks (2 Replies)
Discussion started by: iljimae
2 Replies
5. AIX
Hi list,
I am trying to perform an AIX 5.3 new installation on a p505 machine. After plugging the machine on the power and connecting using Hyperterminal through COM1 I get the following screen:
Welcome
Machine type-model: 9115-505
Serial number: 102765A
Date: 2010-1-12
... (1 Reply)
Discussion started by: mariobehring
1 Replies
6. AIX
Hello,
I am having a new type of error after installation of ssh... I cannot run ssh
# oslevel -r
5200-04
#lslpp -l | grep ssh
openssh.base.client 3.8.0.5300 COMMITTED Open Secure Shell Commands
openssh.base.server 3.8.0.5300 COMMITTED Open Secure Shell Server
... (2 Replies)
Discussion started by: filosophizer
2 Replies
7. AIX
I've configured an AIX 5.3 client to use our Windows AD for user authentication via Kerberos.
When I try to ssh to the server using the AD credentials, I eventually get access but not after getting prompted for a password 3 times (which doesn't work) followed by an accepted login on the 4th... (3 Replies)
Discussion started by: jmroderick
3 Replies
8. AIX
Hi,
One of our six servers is incapable of SSH.
I get the error below while running SSH:
# ssh
exec(): 0509-036 Cannot load program ssh because of the following errors:
0509-150 Dependent module libz.a(libz.so.1) could not be loaded.
0509-022 Cannot load module... (4 Replies)
Discussion started by: guzzelle
4 Replies
9. AIX
Hello,
I am trying to setup passwordless nophrase ssh between two machines for the user id: oraprod
here is what I did for a non-root user: oraprod
whoami:
oraprod
Machine A:
ssh-keygen -t dsa
cat ~/.ssh/id_rsa.pub
# GO TO MACHINE B
create (16 Replies)
Discussion started by: filosophizer
16 Replies
10. AIX
Hello,
I have a weird ssh problem from host A to host B. Both hosts A and B running AIX 5.3.
if host-A has no ~/.ssh/id_rsa.pub & ~/.ssh/id_rsa then it works fine. If I connect from host-A to host-B (as root user) ssh host-B it asks for root password and allows me to get remote root prompt upon... (0 Replies)
Discussion started by: reddyr
0 Replies
LEARN ABOUT CENTOS
shell-quote
SHELL-QUOTE(1) User Contributed Perl Documentation SHELL-QUOTE(1)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.16.3 2010-06-11 SHELL-QUOTE(1)