LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-24-2019, 12:59 PM   #1
nobody_
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Rep: Reputation: Disabled
Unhappy Help please sftp


i need to create a repository for sftp service. i need to put there some config backups from CUCM (cisco call manager) i already create an user and a directory but i need to set specific routes for this... how to do that ?
 
Old 01-24-2019, 02:30 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,650

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by nobody_ View Post
i need to create a repository for sftp service. i need to put there some config backups from CUCM (cisco call manager) i already create an user and a directory but i need to set specific routes for this... how to do that ?
Read the "Question Guidelines" link in my posting signature. You give us NO details at all (version/distro of Linux, etc.), why you need to add routes and for what, or anything else. We can't guess.

SFTP is part of the SSH service. Do you have it working already? Can you log in?
 
Old 01-24-2019, 02:34 PM   #3
nobody_
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Read the "Question Guidelines" link in my posting signature. You give us NO details at all (version/distro of Linux, etc.), why you need to add routes and for what, or anything else. We can't guess.

SFTP is part of the SSH service. Do you have it working already? Can you log in?
yes i can log in with sftp root@192... but i cant with a new user that i create it says:
"subsystem request failed on channel 0 read connection reset by peer"
and doesnt let me connect
 
Old 01-24-2019, 03:37 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,650

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by nobody_ View Post
yes i can log in with sftp root@192... but i cant with a new user that i create it says:
"subsystem request failed on channel 0 read connection reset by peer"
and doesnt let me connect
Ok, and how about the OTHER details you were asked for??? What are you connecting from (OS? Same machine or different? Same LAN? Firewall?) And you are aware that logging in as root is a VERY bad idea, right? You should never, EVER, log in as root over the network. I would most certainly disable that access if I were in your shoes.
 
1 members found this post helpful.
Old 01-24-2019, 03:45 PM   #5
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
To add on to TB0ne's post: where are the 2 machines you are connecting: both on your LAN, do you control both? Does the new user you created exist on the sftp server you are trying to login to or just on the machine you are connecting from? Second the "do not log in as root over the network", bad practice.
 
Old 01-24-2019, 05:32 PM   #6
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
You can also approach the problem from this angle: Follow one of the many tutorials you find on the internet, such as https://www.techrepublic.com/article...rver-on-linux/ (this is just a random page that my google search brought up), and tell us what doesn’t work for you.

Last edited by berndbausch; 01-24-2019 at 05:34 PM.
 
  


Reply



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
SFTP throwing "End of file" when doing SFTP transfer in perl exceed1 Programming 5 03-06-2010 01:34 PM
how to create sftp user only in red hat 4 not ftp user ..only sftp user princeu28 Linux - Newbie 1 10-14-2008 08:10 AM
cannot login into SFTP server using Net::SFTP cccc Programming 1 10-31-2007 06:23 AM
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 09:14 PM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:19 AM.

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