Hi everyone!
I have a problem...
I need to restrict user to sftp usage only from one computer to another...
I mean that the user cannot login to the computer or even use sftp from other computer only from the one i allow.
thanx for the help! (13 Replies)
helo
helo I have create user for the group and entry for the user in /etc/passwd file is liek this
bhavin:x:2014:109:test:/home/pds_RBAC:/bin/false
I have keep here /bin/false
now i m accesing user through sftp
ow when i access that user using sftp from the another linux pc
for e.g... (1 Reply)
Hi,
I am using below syntax -
sftp -b passwordfile userid@ipaddress
passwordfile is a file, in which I have just kept a password of userid.
But by this, an error is coming like -
Permission denied (publickey,password,keyboard-interactive).
Please suggest me on this..as I dont... (6 Replies)
I want to know if there is any way to set up a users home directory access with a restricted shell and allow them to SFTP to the directory. I want to allow the user to SSH into their home directory but no where else on the AIX server. I also want the user to be able to SFTP files to their home... (1 Reply)
Hello Guys,
I need help on SFTP from Solaris to Windows.
I am doing SFTP from Solaris to Windows and its working fine with COPSSH installed on windows.
But when I want to login to windows (remote) with Domain user of windows network, I have no idea how to do it.
Can you please help... (1 Reply)
Hello,
I have a task to create 3 users that must connect only via sftp on a machine, and must have only read access to a certain directory (thay shouldn;t be able to cd anywhere else)
The problem is that the directory where these users must have access to, it's already created/owned by another... (0 Replies)
I have created two users on our ftp server. They will use sftp to connect this server. But I do not want them to give direct ssh access. If I give /bin/false shell, sftp will not work. If I give /bin/nologin, it fails with below messages
# sftp trdeo@bd01.xxx.com
Connecting to bd01.xxx.com...... (6 Replies)
I am running a shell script as user A. In that script I need to execute a sftp that would transfer the file using another user B.
I am using the below command:
sftp -oPort22 B@remote server
However, I am getting password prompts each time.
I have done the following:
Added the public... (4 Replies)
Hello,
I really appreciate any help on this.
Have to connect to external server via sftp. Our server is Linux machine
Linux our.server.com 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I generated the keys, put them in /root/.ssh, sent... (3 Replies)
Discussion started by: billy5
3 Replies
LEARN ABOUT DEBIAN
netsnmp::oid
OID(3pm) User Contributed Perl Documentation OID(3pm)NAME
NetSNMP::OID - Perl extension for manipulating OIDs
SYNOPSIS
use NetSNMP::OID;
my $oid = new NetSNMP::OID('sysContact.0');
if ($oid < new NetSNMP::OID('ifTable')) {
do_something();
}
my @numarray = $oid->to_array();
# appending oids
$oid = new NetSNMP::OID('.1.3');
$oid += ".6.1";
# -> .1.3.6.1
# appending index strings
$oid2 = $oid + ""wes"";
# -> .1.3.6.1.3.119.101.115
$oid3 = $oid + "'wes'";
# -> .1.3.6.1.119.101.115
$len = $oid3->length();
# -> 7
# retrieving indexes from an oid:
$arrayref = $tableoid->get_indexes()
DESCRIPTION
The NetSNMP::OID module is a simple wrapper around a C-based net-snmp oid (which is an array of unsigned integers). The OID is internally
stored as a C array of integers for speed purposes when doing comparisons, etc.
The standard logical expression operators (<, >, ==, ...) are overloaded such that lexographical comparisons may be done with them.
The + operator is overloaded to allow you to append stuff on to the end of a OID, like index segments of a table, for example.
EXPORT
int snmp_oid_compare(oid1, oid2) int compare(oid1, oid2)
AUTHOR
Wes Hardaker, <hardaker@users.sourceforge.net>
SEE ALSO
SNMP, perl.
Copyright
Copyright (c) 2002 Networks Associates Technology, Inc. All Rights Reserved. This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
perl v5.14.2 2009-10-29 OID(3pm)