• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

SFTP configuration in jde 9.2

babubudengm

Active Member
SFTP configuration in jde 9.2

For Media object transfer from Deployment server, we need to configure the SFTP
insteads of FTP. Since our webservers on Linux(SFTP enabled).

We need configure the SFTP serverices on Deployment server(Open SSH).

Installed CYGWIN on Deployment server, we able to check sftp manually (uploading file from webserver to deployment server ). What are the other steps for jde to work mediaobject uploads?

Regards,
babu
 

babubudengm

Active Member
Hi Russell,
Yes .we read this doc before setting up sftp. Please share the details about cygwin ..how point it to D:\JDEdwards. By default cygwin ponited cygwin64/administrator/home.

Regards
Babu
 

babubudengm

Active Member
Hello friends,

Here is the solution.
SFTP Configuration for media object Transfer:

SFTP feature by default available in Linux web servers.
Create local SFTPuser: JDEdwards
Install the Third party services to Enable SFTP on Windows Server.
Third party Software: CYGwin

  1. Download the software from https://cygwin.com/install.html




  1. Select all the six OpenSSH/SSL packages(First download and again click on Setupx86.exe install it from locally downloaded repository)




  1. Once the installation completed, click on the Cygwin Terminal create on Desktop. Execute the below commands.

export CYGWIN='ntsec tty'
chmod +rw /etc/group ----à Ignore if group doesn’t exist locally
chmod +rw /etc/passwd
chmod 0755 /var



ssh-host-config
After entering above command, will get series of interactive questions. Below are
the Answers to the questions when prompted for from ssh-host-config


  1. should strictmodes be used? no
    b) Should privilege separation be used? yes
    c) New local account 'sshd'? yes
    d) do you want to install sshd as a service? yes
    e) Enter the value of CYGWIN daemon? sshd
    f) do you want to use a different name? no
    g) Create a new privileged user account 'cyg_server'? no
    h) do you want to proceed anyway? Yes


  1. Edit the FSTAB File system table location D\Cygwin64\etc\
User below entries:
D:/cygwin64 / ntfs override,binary,noacl 0 0
D:/ /home ntfs override,binary,noacl 0 0
D:/cygwin64/bin /usr/bin ntfs override,binary,noacl 0 0
D:/cygwin64/lib /usr/lib ntfs override,binary,noacl 0 0
D:/cygwin64/etc/terminfo /usr/share/terminfo ntfs override,binary,noacl 0 0



  1. Change the nsswitch.conf file location D\Cygwin64\etc\
# Defaults:
# passwd: files db
# group: files db
# db_enum: cache builtin
# db_home: /home/%U
# db_shell: /bin/bash

passwd: files



  1. Start the Service from DOS command prompt
net stop sshd
net start sshd
netstat -a




  1. From Server manager/HTML instance
Go Runtime properties : Change FTP port to 22
Add local userid and password (JDEdwards) which is created for configuring openSSH.
Check the “Use Secure FTP for MediaObject Fetch”
Click the save button
Synchronize the jas.ini
Bounce the web services.

 
Top