Sponsored Content
Operating Systems AIX Set timeout value for ssh session to HMC? Post 302933296 by thisissouvik on Thursday 29th of January 2015 08:00:18 AM
Old 01-29-2015
IBM

Hello Bakunin,

I did an "honest" search on google to find out what I wanted but probably my query string was not precise to fetch me the right link for answer Smilie

The link which you have shared - I did go through to understand - however it too didn't solve my purpose, I tried using various combinations(0, -1 etc) to get the result I wanted but failed!! Screenshot attached to confirm if I was in the right screen.

Could you help pls?


Thanks,
-- Souvik
Set timeout value for ssh session to HMC?-hmc_screenshotpng
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

telnet session timeout

hi, we can set something such that if the user has been idle for a while, it will auto disconnect. where to do so? thanks (6 Replies)
Discussion started by: yls177
6 Replies

2. Solaris

Solaris 8 - Session timeout

Hi, anyone Audit requirement to set the Solaris 8 server session timeout to 180 sec , Please advice how can I do it .... Thanks (3 Replies)
Discussion started by: civic2005
3 Replies

3. Shell Programming and Scripting

set timeout for ssh prompt

Hi all, I want to set a timeout say 10 sec to shh prompt i.e. if no password is enetered for 10 sec prompt should again come to shell. How can this be achieved ?? I am using Linux RHEL 5 and Solaris 10. Pls help. Thanks in adv. VIKAS (3 Replies)
Discussion started by: vikas027
3 Replies

4. Shell Programming and Scripting

session timeout for shell script

I am executing test.sh script. But this script takes lot of time and in the meantime the shell timeouts without completing the script. Is there any command which will continue processing the script. Thanks (3 Replies)
Discussion started by: infyanurag
3 Replies

5. AIX

Unix session timeout?

We recently moved servers to a new data center, and now we're experiencing user sessions timing out after non-activity. We didnt experience this before, or know of any timeout settings that may have been changed. Any things I can check out on the server? (3 Replies)
Discussion started by: NycUnxer
3 Replies

6. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

7. UNIX for Dummies Questions & Answers

Putty Session Timeout

Hi, I had add the following line into .profile and .bash_profile for the timeout session to avoid putty close automatically : timeout=10800 However, i still keep encounter session time out every after 60 seconds. Can anyone please help advice. Many Thanks! (2 Replies)
Discussion started by: wancy
2 Replies

8. Solaris

Session timeout setting in server

Hi All I need to set timeout of login session of a user if a user is idle for some time. I know the TMOUT setting but it work with only BASH & KORN shell only as I need to set for Bourne shell also. I am trying to put "ClientAliveInterval 300" in sshd_config & restart or refreshing the... (1 Reply)
Discussion started by: sb200
1 Replies

9. AIX

HMC login - Command line and terminal session

Hi Admins, Just a small question - Can we have multiple session for single user on HMC. e.g. Can I have a terminal session (via IE ) and command line (ssh) at same time ?? I am not sure whether it will impact HMC system or not. So want to make sure. let me know folks. Thanks (3 Replies)
Discussion started by: snchaudhari2
3 Replies

10. Linux

Is it possible to set timeout on Linux screen session

Hello friends, I work on Linux servers via SSH (putty) and run "screen" to preserve my sessions so I can attach/detach them at anytime I wish without losing the connectivity/process disruption which is working perfectly fine. As my team members also have root access to those servers, it is... (7 Replies)
Discussion started by: prvnrk
7 Replies
MAXDB_MULTI_QUERY(3)							 1						      MAXDB_MULTI_QUERY(3)

maxdb_multi_query - Performs a query on the database

       Procedural style

SYNOPSIS
bool maxdb_multi_query (resource $link, string $query) DESCRIPTION
Object oriented style bool maxdb::multi_query (string $query) The maxdb_multi_query(3) works like the function maxdb_query(3). Multiple queries are not yet supported. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Object oriented style <?php $maxdb = new maxdb("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } $query = "SELECT * FROM dual"; /* execute multi query */ if ($maxdb->multi_query($query)) { do { /* store first result set */ if ($result = $maxdb->store_result()) { while ($row = $result->fetch_row()) { printf("%s ", $row[0]); } $result->close(); } /* print divider */ if ($maxdb->more_results()) { printf("----------------- "); } } while ($maxdb->next_result()); } /* close connection */ $maxdb->close(); ?> Example #2 Procedural style <?php $link = maxdb_connect("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } $query = "SELECT * FROM dual"; /* execute multi query */ if (maxdb_multi_query($link, $query)) { do { /* store first result set */ if ($result = maxdb_store_result($link)) { while ($row = maxdb_fetch_row($result)) { printf("%s ", $row[0]); } maxdb_free_result($result); } /* print divider */ if (maxdb_more_results($link)) { printf("----------------- "); } } while (maxdb_next_result($link)); } /* close connection */ maxdb_close($link); ?> The above example will output something similar to: a SEE ALSO
maxdb_use_result(3), maxdb_store_result(3), maxdb_next_result(3), maxdb_more_results(3). PHP Documentation Group MAXDB_MULTI_QUERY(3)
All times are GMT -4. The time now is 08:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy