|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
blocking connection message in sftp
when i use below sftp command we get connectuiobn message , is there a way to block it. Code:
cnt=`sftp -b 'count.sh' <username>@<password>:/gsmtmeg1/java5/docs/common/ | grep -v '^sftp>' | wc -l`;echo $cnt Output ** RESTRICTED ACCESS ** You are authorized to use this system for approved business purposes only. Use for any other purpose is prohibited. All transaction reports, reports, email, software, and other data generated by or residing upon this system are the property of the Company and may be used by the Company for any purpose. Authorized and unauthorized activities may be monitored. 3 Code:
cat count ls -lrt I want to just extract output 3 and rest of the message i want to block how this can be done |
| Sponsored Links | ||
|
|
![]() |
| Tags |
| "restricted acess" message in sftp |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ssh/sftp connection refused | isaacniu | Shell Programming and Scripting | 1 | 01-18-2012 07:00 AM |
| Script for Removing Lines from File / Blocking internet connection | Dysruption | Shell Programming and Scripting | 2 | 04-17-2011 05:13 AM |
| Blocking outgoing connection to ports/host in solaris | akhtarbd | Solaris | 2 | 05-11-2010 12:42 AM |
| SFTP connection problem | panknil | Shell Programming and Scripting | 7 | 12-16-2009 07:31 AM |
| Password less connection(sftp/ssh) | panknil | Shell Programming and Scripting | 2 | 11-27-2009 11:04 AM |
|
|