You can view the commandline arguments of running things via ps aux
The safest way to pass a password into something is a terminal, which is why traditional ssh insists upon it.
Some sort of stream would be better than a commandline arg. Can sshpass read a password from stdin?
Oh! I didn't know about that! So, if my script runs for say 1 minute, will the password be visible for that one minute in
or for the entire session? (Sorry again, if this is a stupid question!)
I'll try to avoid sshpass from now, but I'm not sure if sshpass can read a password from stdin.
I am trying to transfer a 10g files using scp, but I am getting timeout errors is there anywhere that I can modify a config file or something to increase the time. (4 Replies)
hi all
in my script i was using the "scp" command to copy 2 files from a certain directory on server A to the same directory on another server B, but for some reason its only copying the first file in the directory. This is the frst time that i used the scp command,any ideas appreciated.
thnks (5 Replies)
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)
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)
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)
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
LEARN ABOUT DEBIAN
sss_obfuscate
SSS_OBFUSCATE(8) SSSD Manual pages SSS_OBFUSCATE(8)NAME
sss_obfuscate - obfuscate a clear text password
SYNOPSIS
sss_obfuscate [options] [PASSWORD]
DESCRIPTION
sss_obfuscate converts a given password into human-unreadable format and places it into appropriate domain section of the SSSD config file.
The cleartext password is read from standard input or entered interactively. The obfuscated password is put into "ldap_default_authtok"
parameter of a given SSSD domain and the "ldap_default_authtok_type" parameter is set to "obfuscated_password". Refer to sssd-ldap(5) for
more details on these parameters.
Please note that obfuscating the password provides no real security benefit as it is still possible for an attacker to reverse-engineer the
password back. Using better authentication mechanisms such as client side certificates or GSSAPI is strongly advised.
OPTIONS -h,--help
Display help message and exit.
-s,--stdin
The password to obfuscate will be read from standard input.
-d,--domain DOMAIN
The SSSD domain to use the password in. The default name is "default".
-f,--file FILE
Read the config file specified by the positional parameter.
Default: /etc/sssd/sssd.conf
SEE ALSO sssd-ldap(5)AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd
SSSD 03/04/2013 SSS_OBFUSCATE(8)