Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Sftp does not work for particular user Post 303034532 by makauser on Sunday 28th of April 2019 04:47:48 AM
Old 04-28-2019
Hi Stomp and Rudic,

This is the output i got as per Stomp proposed. Please share us next wayaround.

Code:
OID @vm-oid.banglalinkgsm.com:/home/infra$ssh infra@172.16.10.179 /usr/bin/true
infra@172.16.10.179's password:
NO TIMEOUT For infra, Enjoy!!!
bash: /usr/bin/true: No such file or directory
OID @vm-oid.banglalinkgsm.com:/home/infra$

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to restrict user to sftp usage?

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)
Discussion started by: eliraza6
13 Replies

2. UNIX for Advanced & Expert Users

will sftp work with /bin/false

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)
Discussion started by: amitpansuria
1 Replies

3. UNIX for Dummies Questions & Answers

FTP or SFTP User

Hello there, is there any command in Unix to check that following ftp user is ftp or sftp user. Thanks. (1 Reply)
Discussion started by: ahhmedbilal
1 Replies

4. Shell Programming and Scripting

SFTP using user id and password

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)
Discussion started by: Monalisa
6 Replies

5. AIX

restricting sftp and ssh for a user

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)
Discussion started by: daveisme
1 Replies

6. Shell Programming and Scripting

SFTP with domain user

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)
Discussion started by: Deei
1 Replies

7. UNIX for Advanced & Expert Users

Sftp user chrooted in a directory

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)
Discussion started by: black_fender
0 Replies

8. Red Hat

No shell access to sftp user

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)
Discussion started by: solaris_1977
6 Replies

9. Shell Programming and Scripting

Passwordless sftp using a different user than the runtime user

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)
Discussion started by: mady135
4 Replies

10. Red Hat

Beginner : sftp doesnt work

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
GSSAPI::OID(3)						User Contributed Perl Documentation					    GSSAPI::OID(3)

NAME
GSSAPI::OID - methods for handling GSSAPI OIDs and some constant OIDs SYNOPSIS
use GSSAPI; #$oid = GSSAPI::OID->new; # rarely needed or wanted $status = GSSAPI::OID->from_str($oid, "{ 1 2 840 113554 1 2 1 1 }"); # # only supported on MIT Kerberos # $status = $oid->to_str($str); # # only supported on MIT Kerberos # $status = $oid->inquire_names($oidset); # Constant OIDs provided: $oid = gss_nt_user_name; $oid = gss_nt_machine_uid_name; $oid = gss_nt_string_uid_name; $oid = gss_nt_service_name; $oid = gss_nt_exported_name; $oid = gss_nt_service_name_v2; $oid = gss_nt_krb5_name; $oid = gss_nt_krb5_principal; $oid = gss_mech_krb5; $oid = gss_mech_krb5_old; $oid = gss_mech_krb5_v2; $oid = gss_mech_spnego; # if your GSSAPI implementation supports # SPNEGO (Heimdal 0.7 for example # you can use mechtype OID::gss_mech_spnego. # # use GSSAPI::indicate_mechs( $oidset ); # to get the of mechtypes your implementation supports $oid = gss_nt_hostbased_service; # GSS_C_NT_HOSTBASED_SERVICE DESCRIPTION
"GSSAPI::OID" objects are used as unique indentifiers/constants for 'mechanisisms' -- the particular protocol and version being used -- and for the encodings used to represent names. In many cases you can request the default mechanism or encoding for the implmentation by using GSS_C_NO_OID. Check the description of the routine in rfc2743 if you're not sure. AUTHOR
maintained by Achim Grolms <perl@grolmsnet.de> originally written by Philip Guenther <pguen@cpan.org> SEE ALSO
perl(1) GSSAPI(3p) GSSAPI::OID::Set(3p) RFC2743 perl v5.18.2 2008-02-02 GSSAPI::OID(3)
All times are GMT -4. The time now is 03:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy