Sponsored Content
Full Discussion: scp with alert
Top Forums UNIX for Advanced & Expert Users scp with alert Post 302426140 by dennis.jacob on Tuesday 1st of June 2010 01:53:11 AM
Old 06-01-2010
Use lsof.

Code:
lsof -i -P | grep sshd

If there is any file transfers, you would see

Code:
sshd      270380     root    3u  IPv4 0xf1000700001f2bb0       0t0  TCP *:22 (LISTEN)
sshd      602222     1583    3u  IPv4 0xf1000700028a63b0   0t18786  TCP sinaorappd2.sg.xx.com:22->xxSNGVDI00739.sg.db.com:3584 (ESTABLISHED)
sshd      602222     1583   20u  IPv4 0xf100070002939e00       0t0  UDP *:743
sshd      684076     root    3u  IPv4 0xf1000700028a63b0   0t18786  TCP sinaorappd2.sg.xx.com:22->xxSNGVDI00739.sg.db.com:3584 (ESTABLISHED)
sshd      684076     root   20u  IPv4 0xf10007000292f800       0t0  UDP *:766

 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ALERT!!! ALERT!!! I messed up the UNIX!!!

Hello If you want a short description read my last thread! I have no root access anymore. No remote access! By user access i get a programm started and when i close it, i got logged off! So I guess I messed up the passwd file! is there a chance of booting a unix system (SCO-UNIX UnixWare... (15 Replies)
Discussion started by: Fwurm
15 Replies

2. UNIX for Advanced & Expert Users

Scp

I am trying to transfer a 10g files using scp, but I am getting timeout errors is there anywhere that I can modify a config file or something to increase the time. (4 Replies)
Discussion started by: rbizzell
4 Replies

3. Shell Programming and Scripting

What is scp-ed over?

Hi all, i have a directory in server A. the directory path is /home/kevin. I need to scp the directory to another server B. i would like to ask, when i do a scp of the /home/kevin , i can expect all the files from A to go B. However, how about the hidden files? for example the ssh keys in the... (4 Replies)
Discussion started by: new2ss
4 Replies

4. Shell Programming and Scripting

Is this possible with SCP?

I normally download a directory recursively using: scp -r <name>@host:<path> . This has worked fine. As everyone knows this will download all of the directory named in <path> and all of the sub directories. I would like to know if it is possible to not download a particular file if it... (5 Replies)
Discussion started by: cpabrego
5 Replies

5. AIX

scp

1. how to move files in a directory using scp ? 2. how to move the entire directory ? 3. Will the file and the directory permissions affect scp usage? (1 Reply)
Discussion started by: samsungsamsung
1 Replies

6. Shell Programming and Scripting

SCP

Hi All, Please help on the below command scp -r 'directory name'inrvgo@IP:/export/home/muthu/prod_12-09-2010 I am trying to copy a directory from one server to another server using the above command but its displaing the error (missing destination file) but the diectory was there in the... (1 Reply)
Discussion started by: thelakbe
1 Replies

7. UNIX for Dummies Questions & Answers

How to use scp?

How to copy multiple directories using single command on solaris 10 from server A to server B. I tried scp but its working only one directory at atime How to acheive this with simple and short solution????? (6 Replies)
Discussion started by: buzzme
6 Replies

8. Cybersecurity

**ALERT**ALERT* Whats app requesting users to upgrade to latest version as; its vulnerability found.

Hello All, Want to share here an article for Whats app users that team whats app is requesting users to upgrade to its latest version since they have found a vulnerability; where Hacker could turn on a cell's camera, mic and scan messages and emails. Here is an article from "THE VERGE" for... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
SSS_SSH_AUTHORIZEDKE(1) 					 SSSD Manual pages					   SSS_SSH_AUTHORIZEDKE(1)

NAME
sss_ssh_authorizedkeys - get OpenSSH authorized keys SYNOPSIS
sss_ssh_authorizedkeys [options] USER DESCRIPTION
sss_ssh_authorizedkeys acquires SSH public keys for user USER and outputs them in OpenSSH authorized_keys format (see the "AUTHORIZED_KEYS FILE FORMAT" section of sshd(8) for more information). sshd(8) can be configured to use sss_ssh_authorizedkeys for public key user authentication if it is compiled with support for either "AuthorizedKeysCommand" or "PubkeyAgent"sshd_config(5) options. If "AuthorizedKeysCommand" is supported, sshd(8) can be configured to use it by putting the following directive in sshd_config(5): AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys If "PubkeyAgent" is supported, sshd(8) can be configured to use it by using the following directive for sshd(8) configuration: PubKeyAgent /usr/bin/sss_ssh_authorizedkeys %u OPTIONS
-d,--domain DOMAIN Search for user public keys in SSSD domain DOMAIN. -?,--help Display help message and exit. EXIT STATUS
In case of success, an exit value of 0 is returned. Otherwise, 1 is returned. SEE ALSO
sssd(8), sssd.conf(5), sssd-ldap(5), sssd-krb5(5), sssd-simple(5), sssd-ipa(5), sssd-ad(5), sssd-sudo(5),sss_cache(8), sss_debuglevel(8), sss_groupadd(8), sss_groupdel(8), sss_groupshow(8), sss_groupmod(8), sss_useradd(8), sss_userdel(8), sss_usermod(8), sss_obfuscate(8), sss_seed(8), sssd_krb5_locator_plugin(8), sss_ssh_authorizedkeys(8), sss_ssh_knownhostsproxy(8),pam_sss(8). AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd SSSD
06/17/2014 SSS_SSH_AUTHORIZEDKE(1)
All times are GMT -4. The time now is 02:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy