7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Using below below command i'm able to connect or authenticate server, In below command password contains special characters
sshpass -v -p 'ASJBA%hs76)#' ssh -q -o ConnectTimeout=5 hostname
But If I pass password as a variable I'm not able to connect or authenticate server, can you please help... (1 Reply)
Discussion started by: sam@sam
1 Replies
2. Solaris
I want to migrate a solaris 10 os to solaris 11.4 zone.
I did this
a)Collect some data like id sysid,disks,ip,etc..on solaris10
OK
b)Create this file.cfg with this command on solaris 10
zonep2vchk -c > /migration/sol10.cfg
OK
c)Create the archive flash on Solaris10 (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
3. Shell Programming and Scripting
hello, i am facing some issue. I am using a simple bash script that via sshpass put a command into router. Now, problem is that i have a file and commands into it.
sshpass -p $pass ssh -o $log -n $user@$h /ip address set address=10.0.0.1/24
so if I have that command ip address set ... (0 Replies)
Discussion started by: tomislav91
0 Replies
4. Shell Programming and Scripting
Hi,
I am trying to use sshpass to login to my router and then execute a reboot command. But the command never executes, can someone please help me.
This doesnt work....
sshpass -p 'password' ssh 192.168.1.1 -l root -o StrictHostKeyChecking=no "sys reboot" However if I try following then it... (4 Replies)
Discussion started by: jeetz
4 Replies
5. Shell Programming and Scripting
Hi!
I'm trying to copy a set of files from server1 to server2. I'm doing this from server3. Using the sshpass functionality, can I accomplish this?
This is what I have so far, but this doesn't work:
user@server3#~ sshpass -p 'password' scp user1@server1:/path/from/*... (10 Replies)
Discussion started by: mathbalaji
10 Replies
6. Solaris
I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch.
I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies
7. Shell Programming and Scripting
Hello
i am using sshpass to pass remote password into script
but phase some problems when try to execute some commands remotely
which means that the remote env not passed through sshpass
for example
sshpass -p 'XXX' ssh -o StrictHostKeyChecking=no -l myserver myserver visu_fis_pnes
... (2 Replies)
Discussion started by: mogabr
2 Replies