As peasant suggests you can send your logs out of syslog.log but you cannot filter on a user basis
By default on HP-UX, syslogfacility is set to AUTH and log level to INFO
So adding the following line to your /etc/syslog.conf file should send all your sshd logs to auth.log:
HI,
We are facing a problem while trying to login using ssh.
The user is able to login using telnet.
We are able to login as another user using ssh and then su to that user which is successfull.
What should i be checking for the user to be able to login directly using ssh.
Thanks in... (2 Replies)
I want to login to server using ssh or telnet and execute one command then exit to the shell
Please let me know how to write script for this? (1 Reply)
Q1
I want to allow particular user only to login into root using ssh.
I have set PermitRootLogin no for security purpose but I want to allow some of
the users to login as a root using ssh how to do this?
I have tried with Allowusers user1 user2 its working for only the user1 and... (3 Replies)
1)
ssh a@b
echo $USER it display the correct value as a (even though i have not defined it in .profile)
2)
remsh b -l a
echo $USER it does not display the value as a (variable is not set
any idea why $USER variable is not initialized when i login via remsh or rlogin but shows the... (10 Replies)
Hey guys,
I have some task from my office to lock user on the specified directory after the user logged on using ssh. And then run prompt program to fill the required information. Yeah, just like an ATM system.
My question:
How could I do those?? AFAIK I have to edit the ~./bashrc. But the... (1 Reply)
Hi all,
Thanks in Advance!!
I dont know how to start to write script for this process, my requirement is if any user logs into server automatically Admin get mail alert. how is this possible? any one guide me to complete this process. (1 Reply)
I have been asked to see if we can restrict SFTP access to authorised users only. There will be business users who will log on with SSH, but they are locked into a menu. They will have write access to the production data to do their job, but we don't want them to have access to read/write the... (8 Replies)
HI Community.
I was trying to create ssh password less authentication for one user called night and it's not working for me.
These are the steps I followed:-
I have logged into the server and issued ssh-ketgen -t rsabash-3.2$ ssh-keygen -t rsa
Generating public/private rsa key pair.... (4 Replies)
As I do a ssh <nis_user>@server1 from server2, ssh prompts for certificates (as expected the first time), then it prompts for the users password, as soon as I enter the password, I get a Connection to server1 closed by remote host, and connection to server1 closed. and I disconnect back to the... (3 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 DEBIAN
eurephia-auth
eurephia-auth(7)eurephia-auth(7)NAME
eurephia-auth - The eurephia OpenVPN authentication plug-in
DESCRIPTION
The eurephia-auth.so is a plug-in for OpenVPN. It is loaded by providing the --plugin option in the OpenVPN configuration.
The syntax for OpenVPN and eurephia-auth is:
plugin eurephia-auth.so "<plugin args> -- <DB args>"
Please notice the quotes and the double dash. They are important markers so that the eurephia-auth module receives all arguments (the
quotes) and that it knows when to pass on the rest of the arguments to the defined database driver, separated by the double dash. This
manual page will only look at the <plugin args> options. For the <DB args> options, refer to the corresponding database driver you are
using.
OPTIONS --log-destination | -l
This defines how eurephia will do its logging. It can take a filename to log to a file. If the string is openvpn: it will pass the
log data over to OpenVPN, which will combine the OpenVPN and eurephia logs. You can also log via syslog, by indicating syslog:. The
last possible special value is none: which will disable logging completely.
With syslog: you can also define which syslog facility the logging will go to. The default is to log to the user facility. Other
supported facilities are authpriv, daemon and local0 to local7. To send log data to the daemon the --log-destination argument need
to be
--log-destination syslog:daemon
--log-level | -L
This defines how verbose the eurephia logging will be. The required argument to this option must be a numeric value, where 0 indi-
cates as little logging as possible - only giving informative messages, or a high value like 50 to give really verbose logging. In
general a log level less than 4 should be more than enough under normal circumstances.
NOTICE: The highest log level is 10, unless the eurephia-auth modules have been compiled with debug features.
--database-interface | -i
This argument must have a full path to the eurephia database driver module. This defines which database interface eurephia will use.
OPENVPN CLIENTS
The only change the OpenVPN clients needs to do is to add
auth-user-pass
to their configuration file. This instructs the OpenVPN client to ask for user name and password when starting the connection.
SEE ALSO eurephia-sqlite(8), eurephia_init(8)AUTHOR
Copyright (C) 2008-2010 David Sommerseth <dazo@users.sourceforge.net>
David Sommerseth July 2010 eurephia-auth(7)