LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2012, 10:46 PM   #1
mathews567
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Rep: Reputation: Disabled
ftp connection to the same server


Hi,

I would like to some details for the following basic questions


1) Once I login to a server, how may level/time I can use su(switch user) login in the same server. Does the su user(new user) has any dependency with the parent user.


2) After login to a server, can a open a sftp connection to the same server, does it have any connection issues/limitations for ports etc. and can I copy/move files using the new sftp connection. Would like to have details about this.


Thanks in advance.
 
Old 08-11-2012, 07:28 AM   #2
mathews567
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Any comments on the sftp connection to the same server be will be very helpful.
 
Old 08-12-2012, 04:51 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,440

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
1. no limit on switching users (probably a hteoretical one, but not one you need worry about)
Why would ypu want to do it anyway?
BTW
Code:
# this logs in as new user but with your original env
su <user>


# this also gives you new user's env
su - <user>
2. you could sftp to yourself, but again, why bother??
 
1 members found this post helpful.
Old 08-12-2012, 10:24 PM   #4
mathews567
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you Chris.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ftp connection refused new server swanny99 Linux - Server 13 06-14-2012 11:39 AM
Connection from FTP client to PURE FTPd server fails at MLSD james8734 Linux - Networking 3 05-18-2010 04:21 PM
Shorewall with FTP and WEB Server Connection problem wisnuhidayat Linux - Newbie 4 07-07-2009 05:39 AM
FTP/TELNET SERVER: Service not available/connection refused. What does it mean? svar Linux - Networking 6 12-15-2005 06:25 AM
Connection to remote FTP server which has the same domain name as my network dws Linux - Newbie 2 05-26-2004 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration