Hello all,
I have a bit of trouble working a passwordless SSH from UNIX to Cygwin running windows 2k3. Here are some details. I AM able to SSH from the Windows box to the UNIX box using the keys. Also, I'm able to SSH from UNIX to Windows w/o the keys. However, when I try to do it with the keys... (9 Replies)
Hi everyone,
I have a quick/newb question:
I know that a public key is used to encrypt data and a private key is used to decrypt data but who keeps the public/private keys??
Does the Web Server hold both?
Does the Web Server have the public key and does the client have the private key? ... (3 Replies)
Hello,
Using AIX 6.1 boxes.
User user1 connects from box A to box B using ssh.
When password authentication is used everything is fine. When I configure user1 to use public key authentication sftp client works fine(no password asked), but ssh client fails. This is sshd log:
Accepted publickey... (3 Replies)
Hi
I have two machines Mac1 and Mac2 logging in with same user id and same private key.
can anyone let me know how to connect these two machine using ssh .
or SCP files to other machine
:wall: (1 Reply)
Hi,
please guide me create a public/private key using ssh-keygen, lets say I have been access to server named pngpcdb1with a userid and password ...!!! and also please explain in detail the concept of these keys and ssh as I was planning to use them in ftp related scripts..! Thanks in... (1 Reply)
Hi i am using solaris 10.I am trying to setup a public/private key but it is not working.Appreciate your repsonse on it
There are two servers DB1 server and DB2 server.
1)I have generated public/private key using below step on both servers.
ssh-keygen -t rsa
2)From DB1 server moved the... (6 Replies)
Hi,
What tool is used to generate public and private keys for SCP?
Do you have an example script that generates these keys, puts them in files and then another example script that references them from SCP?
Thanks, (9 Replies)
Hi All,
I have a requirement where i need to check if an rsa public key corresponds to a private key and hence return success or failure. Currently i am using the command
diff <( ssh-keygen -y -e -f "$PRIVKEY" ) <( ssh-keygen -y -e -f "$PUBLICKEY" )
and its solving my purpose. This is in... (1 Reply)
Hi,
we have private and public key, encrypt file using public and want to decrypt using private key. can you please advise below commands are correct or other remedy if unix have?
encrypt -a arcfour -k publickey.asc -i TESTFILE.csv -o TESTFILE00.csv
decrypt -a arcfour -k privatekey.asc... (2 Replies)
I have a user account configuration with ssh public/private key that works on multiple servers centos and rhel. One server (Server F) that is not working in centos 6.8. When i ssh into server f I get prompted for a password. I have verified the config and it all is good. I put sshd into debug... (8 Replies)
Discussion started by: bash_in_my_head
8 Replies
LEARN ABOUT HPUX
newgrp
newgrp(1) General Commands Manual newgrp(1)NAME
newgrp - switch to a new group
SYNOPSIS
[group]
DESCRIPTION
The command changes your group ID without changing your user ID and replaces your current shell with a new one.
If you specify group, the change is successful if group exists and either your user ID is a member of the new group, or group has a pass-
word and you can supply it from the terminal.
If you omit group, changes to the group specified in your entry in the password file,
Whether the group is changed successfully or not, or the new group is the same as the old one or not, proceeds to replace your current
shell with the one specified in the shell field of your password file entry. If that field is empty, uses the POSIX shell, (see sh-
posix(1)).
If you specify (hyphen) as the first argument, the new shell starts up as if you had just logged in. If you omit the new shell starts up
as if you had invoked it as a subshell.
You remain logged in and the current directory is unchanged, but calculations of access permissions to files are performed with respect to
the new real and effective group IDs.
Exported variables retain their values and are passed to the new shell. All unexported variables are deleted, but the new shell may reset
them to default values.
Since the current process is replaced when the new shell is started, exiting from the new shell has the same effect as exiting from the
shell in which was executed.
EXTERNAL INFLUENCES
International Code Set Support
Characters from the 7-bit USASCII code set are supported in group names (see ascii(5)).
DIAGNOSTICS
The command issues the following error messages:
Your user ID does not qualify as a group member.
The group name does not exist in
If a password is required, it must come from a terminal.
Standard input is not a terminal file,
causing the new shell to fail.
EXAMPLES
To change from your current group to group without executing the login routines:
To change from your current group to group and execute the login routines:
WARNINGS
There is no convenient way to enter a password into
The use of group passwords is not recommended because, by their very nature, they encourage poor security practices. Group passwords may
be eliminated in future HP-UX releases.
If the specified group to has multiple inconsistent entries (i.e. the group id or/and password are different) in the group database, will
consider the group id and password of the first matched group entry as the correct group id and password for the group.
FILES
System group file
System password file
SEE ALSO csh(1), ksh(1), login(1), sh-posix(1), group(4), passwd(4), environ(5).
STANDARDS CONFORMANCE newgrp(1)