Sponsored Content
Top Forums UNIX for Advanced & Expert Users openssh 5.3 needs password vs. 4.3 using private keys Post 302589059 by jsheehy on Tuesday 10th of January 2012 04:10:55 PM
Old 01-10-2012
This is another hopelessly broken condition (that fails silently and uselessly) due to SELinux. You can solve this problem, if you haven't already chosen to uninstall SELinux, by running this command:

restorecon -R -v /root/.ssh


Good luck! SELinux still has a large amount of maturing to do in my opinion.

-John
This User Gave Thanks to jsheehy For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SSH public and private keys

Firstly, i apologise if i have posted in a wrong section of the forum. Please let me know which is the correct section my post should go to. I have to SCP a file from one server(server A) to another (server B). I read around that a secure way is to use public and private keys. Assuming my... (2 Replies)
Discussion started by: new2ss
2 Replies

2. UNIX for Dummies Questions & Answers

ssh public/private Keys

Hello, I have an issue with an outside party trying to deliver a file to our server via SFTP. I have setup the .ssh directory under the home directory for the user account that is being used and setup the authorized_keys file with correct permissons etc for .ssh directory and file. We... (2 Replies)
Discussion started by: richo king
2 Replies

3. HP-UX

Problem - Creating SSH Public/Private keys. Please help.

HI, I'm trying to create SSH public/private keys using following command. hp023:/users/vikram> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/users/vikram/.ssh/id_rsa): rsa Enter passphrase (empty for no passphrase): Enter same passphrase... (9 Replies)
Discussion started by: vickramshetty
9 Replies

4. AIX

OpenSSH always ask for password

Hello together, I have a Problem with openssh on AIX 5.3. We have a big amount of AIX-hosts that run with openssh but one donīt! Every time we try to connect via ssh to the host, we get a password prompt. The myth ist, that there is no Error or somthing else. Here the output of ssh -vvvv to... (14 Replies)
Discussion started by: heifei
14 Replies

5. Solaris

ssh private keys stored on home server

Where in the world are the ssh private keys stored on the home server? I know the public keys are renamed to authorized_keys under the /export/home//.ssh directory on the remote server. (1 Reply)
Discussion started by: jastanle84
1 Replies

6. UNIX for Advanced & Expert Users

help with private keys (blocs) extraction from file

Hello, I need to extract blocs (private keys) from a file so that each bloc gets extracted to a separate file (*.priv), on the fly I started to fiddle with awk, without much luck so far.... A block always has this pattern: ----- BEGIN CERTIFICATE ----- variable number of lines (never... (7 Replies)
Discussion started by: pat38000
7 Replies

7. Shell Programming and Scripting

Shell script for SFTP using Public and private keys

Hi all, I needed a shell script for file transfering using public/private keys for authentication. Could you please help me out on this? A procedure to write a shell script is enough. Thanks in advance. Regards. Vidya N (8 Replies)
Discussion started by: Vidya N
8 Replies

8. Shell Programming and Scripting

SFTP - Private and Public keys

Hi All, I have a query....say on server A, I have generated the Private and Public keys and shared the public key with server B. Now i can surelyconnect(without password) from server A to server B..... but can i similarly connect from server B to server A as well Regards (1 Reply)
Discussion started by: Arpit Narula
1 Replies

9. Shell Programming and Scripting

sftp using private and public keys

hi guys , i have few files i have to do sftp, the public and private key work like a magic , no problem at all the syntax is as below sftp -0 identityfile=~/ure/blsl/loc2/.ssh/id_rsa_ssh1 ssh1@remote >log_dir/file.timestamp<<end lcd folder cd folder put * quit end ================ my... (3 Replies)
Discussion started by: rockymayavia
3 Replies
seusers(5)						       SELinux configuration							seusers(5)

NAME
seusers - The SELinux GNU/Linux user to SELinux user mapping configuration file DESCRIPTION
The seusers file contains a list GNU/Linux user to SELinux user mapping for use by SELinux-aware login applications such as PAM(8). selinux_usersconf_path(3) will return the active policy path to this file. The default SELinux users mapping file is located at: /etc/selinux/{SELINUXTYPE}/seusers Where {SELINUXTYPE} is the entry from the selinux configuration file config (see selinux_config(5)). getseuserbyname(3) reads this file to map a GNU/Linux user or group to an SELinux user. FILE FORMAT
Each line of the seusers configuration file consists of the following: [%group_id]|[user_id]:seuser_id[:range] Where: group_id|user_id The GNU/Linux user id, or if preceded by the percentage (%) symbol, then a GNU/Linux group id. An optional entry set to __default__ can be provided as a fall back if required. seuser_id The SELinux user identity. range The optional level or range for an MLS/MCS policy. EXAMPLE
# ./seusers system_u:system_u:s0-s15:c0.c255 root:root:s0-s15:c0.c255 fred:user_u:s0 __default__:user_u:s0 %user_group:user_u:s0 SEE ALSO
selinux(8), PAM(8), selinux_usersconf_path(3), getseuserbyname(3), selinux_config(5) Security Enhanced Linux 28-Nov-2011 seusers(5)
All times are GMT -4. The time now is 02:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy