05-07-2007
last command was executed in unix. I am just trying to understand why one lives longer than the other. Is it because the session becomes idle after sshd terminates, and pts/1 stays on longer? Does sshd indicate when the session was active or the user was actively executing some queries or other scripts?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i just downloaded and installed succesfully openssh server, and am running it on netbsd 1.5, i can not login with anyuser, i enabled root login just to see what happens and i can login as root, but no other user, i checked my config and most things are default, whats going on? has any one else had... (2 Replies)
Discussion started by: norsk hedensk
2 Replies
2. AIX
need some clarification:
if i ssh to the server & i restart the sshd process, did my connection gone?
one more thing, there are a few sshd processes in aix, how do i restart it all to read new config? using HUP?
thanks in advance! (2 Replies)
Discussion started by: ashterix
2 Replies
3. AIX
Friends,
I made the installation of the ssh in the it conspires,
I configured in the ssh_config the following
parameters..
SyslogFacility AUTH
LogLevel INFO
that should generate sshd.log in the /var/log.... more no this generating.
Somebody could help myself in... (0 Replies)
Discussion started by: sandba
0 Replies
4. AIX
I installed OpenSSH on AIX 5.1 but when I try to start it, it says:
bash-2.05a# /usr/sbin/sshd
bash-2.05a#
bash-2.05a# tail /var/adm/syslog.out
Jan 8 11:52:22 xyz sshd: fatal: Cannot bind any address.
:confused: (31 Replies)
Discussion started by: untamed
31 Replies
5. Solaris
My ssh log appear to the screen which i want it to be log to /var/log/sshd.log
how to log the sshd to /var/log? (5 Replies)
Discussion started by: hezry79
5 Replies
6. Solaris
Hi,
I was able to putty a few server (Solaris 10) of mine using hostname, but when i change to ip address, it shows
login as: root
Using keyboard-interactive authentication.
Password:
Access denied
I change PermitRootLogin to yes. I tried to do a sshd restart, however
... (6 Replies)
Discussion started by: beginningDBA
6 Replies
7. Solaris
I have shamelessly tried all the possible ways to see if my /var/adm/loginlog logs user access entries for ssh but nothing has worked for me so far..:confused:
for telnet login its working fine.
Adding auth.info in syslog.conf works but i dont want that output.
Is there any way to edit... (2 Replies)
Discussion started by: ningy
2 Replies
8. UNIX for Dummies Questions & Answers
how would i print all the instance of sshd process, sorted based on alphabetical order of user-id. the output should only consist of User-ID of the process and the process name? (1 Reply)
Discussion started by: stefanere2k9
1 Replies
9. AIX
Hello,
AIX 6.1
sshd worked fine.
Then I upgraded my AIX from 6100-02-04-0920 to 6100-03-10-1119 successfully(no errors, nothing unusual). After reboot sshd was not started, 3 errors in errpt:
# lssrc -s sshd
Subsystem Group PID Status
sshd ssh ... (0 Replies)
Discussion started by: vilius
0 Replies
10. Red Hat
Hi,
Do you know what cause the error message ?
Nov 19 13:42:19 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in /etc/environment', ignoring
Nov 19 13:42:20 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in... (0 Replies)
Discussion started by: xitrum
0 Replies
LEARN ABOUT HPUX
tt_thread_session
tt_thread_session(library call) tt_thread_session(library call)
NAME
tt_thread_session -- retrieve the default session identifier for the currently active thread
SYNOPSIS
#include <Tt/tt_c.h>
char *tt_thread_session(
);
DESCRIPTION
The tt_thread_session function retrieves the default session identifier for the currently active thread. If there is no default session set
for the currently-active thread, then the process default session identifier is returned.
A session can have more than one session identifier. This means, for example, that the application cannot compare the result of
tt_thread_session with the result of tt_message_session to verify that the message was sent in the default session.
The returned pointer points to the character string name of the session. When no longer needed, it must be freed with tt_free.
ARGUMENTS
None.
RETURN VALUE
Upon successful completion, the tt_thread_session function returns the pointer to a character string that uniquely identifies the default
session for the currently active thread.
TT_OK The operation completed successfully.
TT_ERR_NOMP
The ttsession process is not running and the ToolTalk service cannot start it.
TT_ERR_PROCID
The current default process identifier is out of date or invalid.
TT_ERR_UNIMP
The ToolTalk implementation does not support multithreading.
TT_ERR_TOOLATE
The multithreading feature has not been enabled.
APPLICATION USAGE
None.
SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_free(3), tt_ptr_error(3)
tt_thread_session(library call)