12-17-2008
ssh auto-logout
Hi all,
Is there is any feature to auto-logout in OpenSSH 3.6.1p2, If yes then how to disable that because i am getting auto-logout within an hour when i am idle from SSH Server.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Solaris
I am currently setting up rdiff-backup to use ssh to connect and remotely backup and retrieve data. I am doing so by creating rsa keys for each server and copying the relevant key to the /.ssh folder on the relevant server.
All seems to work well when severs running solaris 8 with ssh 3.6.1 are... (6 Replies)
Discussion started by: falklandtim
6 Replies
2. UNIX for Dummies Questions & Answers
logon to a client unix box as user "evil"
>
>su - hero
enter evil's password
>hero$> ssh-kengen -t dsa
no passphase, id_dsa / id_dsa.pub generated.
>hero$> scp /home/hero/.ssh/id_dsa.pub evil@scp_server:/tmp/id_dsa.pub
now the scp_server,
logon as evil
>su - hero
>hero>mv... (0 Replies)
Discussion started by: cititester
0 Replies
3. UNIX for Dummies Questions & Answers
How do I disable the auto logout for remote logins to a host (2 Replies)
Discussion started by: lethgowerboy
2 Replies
4. Solaris
Hi all,
Is there is any feature to auto-logout in OpenSSH 3.6.1p2, If yes then how to disable that because i am getting auto-logout within an hour when i am idle from SSH Server.
Thanks in advance.
https://www.unix.com/images/misc/progress.gif (3 Replies)
Discussion started by: daya.pandit
3 Replies
5. Ubuntu
Hello Everyone,
This is my first thread. It's about latest version of ubuntu 10.4 (Ultimate Edition II.VI).
I am really happy with seeing all the graphics and small duration installation process. Even, it takes very short to boot the OS.
One of my friend was working on my desktop (ubuntu... (0 Replies)
Discussion started by: nbhalala
0 Replies
6. Shell Programming and Scripting
Hi,
While trying to supress password prompt using ssh. I have added .ssh folder manually and generated public key and added to authorized_keys file in the remote machine. But still it's prompting for passwords with the following message:
Permission denied... (5 Replies)
Discussion started by: 116@434
5 Replies
7. Shell Programming and Scripting
Scenario:
I currently manager a cluster at work which is on a private network and i constantly need to ssh to other clients for diags e.t.c. I created a debain client which i use as my gateway to get to all the clients on the private network and I then created a Shell menu script which will make... (4 Replies)
Discussion started by: defamer
4 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a generic id say "abc". In a client i logged into using this generic id and generated the key for autologin to do ssh to a server.
I have kept the key in authorized_keys file in the server under the home directory of this generic id. (/u/abc/.ssh/authorized_keys)
when i do... (7 Replies)
Discussion started by: rbalaj16
7 Replies
9. Shell Programming and Scripting
Hi Guys!!
I am trying to get around the complex situation, i have a task to complete, Like to setup the remote SSH key automatically by providing the root login details, ip and ssh port once to the script input and once its tested and accepted the next ssh should be password less,
script... (0 Replies)
Discussion started by: SilvesterJ
0 Replies
10. Shell Programming and Scripting
hi,
i have some servers on my network.
i need to connect to them auto from my work station sith SSH.
i need to write a script thet connects to the server with USERNAME and PASSWORD automticly.
and on each server to kill process.
in my sciprt i want to put all list the IP of my... (1 Reply)
Discussion started by: zigizag
1 Replies
LOGIN(3) BSD Library Functions Manual LOGIN(3)
NAME
login, logout, logwtmp -- login utility functions (DEPRECATED)
SYNOPSIS
#include <util.h>
void
login(struct utmp *ut);
int
logout(const char *line);
void
logwtmp(const char *line, const char *name, const char *host);
DESCRIPTION
The login(), logout(), and logwtmp() functions are DEPRECATED; use pututxline(3) instead.
These functions operate on the database of current users in /var/run/utmpx and the system log file. Superuser permission is required.
The login() function updates the /var/run/utmpx files with user information contained in ut (after converting to a struct utmpx, as described
in pututxline(3)).
The logout() function removes the entry from /var/run/utmpx corresponding to the device line.
The logwtmp() function adds an entry to the system log file. Since login() will add the appropriate entry during a login, logwtmp() is usu-
ally used for logouts.
RETURN VALUES
logout() returns non-zero if it was able to find and delete an entry for line, and zero if there is no entry for line in /var/run/utmpx.
However, there is no error indication due to lack of permissions.
FILES
/dev/*
/var/run/utmpx
SEE ALSO
pututxline(3), utmp(5), utmpx(5)
BSD
December 14, 1995 BSD