Comments (4)
Searched around on the internet a bit and found the solution, anyone else facing this issue try the following and hopefully it works like it did for me:
Cause: new openssh libs used to generate keys by default save private keys in a different file format that U-Net can't handle. New file format starts with "-----BEGIN OPENSSH PRIVATE KEY-----", while the old one has a different header "-----BEGIN RSA PRIVATE KEY-----"
Solution: (copy) convert your private key file using:
ssh-keygen -p -f file -m pem -P passphrase -N passphrase
(if the key is not encrypted with a passphrase, use "" instead of passphrase)
It seems like you may face these issues if you are using a newer Mac as your frontend computer
from unet-segmentation.
Hi! I am having the same issue, in Ubuntu.
the parameter file in your script is the old id_rsa location?
Thanks!
from unet-segmentation.
Maybe more detail can help to understand our issue, and maybe someone can help us.
We have this line in a ImageJ plugin, inside a loop of a folder:
call('de.unifreiburg.unet.SegmentationJob.processHyperStack', 'modelFilename=' + modeldef + ',Memory (MB):=4000,weightsFilename=' + caffemodel + ',gpuId=GPU 0,useRemoteHost=true,hostname=localhost,port=22,username=lucas,RSAKeyfile=/home/lucas/.ssh/id_rsa,processFolder=process-folder/,average=none,keepOriginal=false,outputScores=false,outputSoftmaxScores=false');
And it ask for the password every time it enters in the loop. It seems it is not recognizing the id_rsa file. After I write the password it works, until the next iteration, asking for it again.
This Plugin acutally owrk in other computer. In mine, I create the id_rsa with
ssh-keygen -t rsa
And when it ask for the passphrase, I put the password for my local server (Is that correct, or no password? because it actually work in both cases).
I tried after that the script in this thread, but nothing changed.
Installed software details:
ssh -V returns OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
Thoughts?
from unet-segmentation.
You can login to the server using the RSA key from console? Try with a corresponding ~/.ssh/config section for your server specifying the key to use. The RSA key format is of course also relevant as MBronars described. Basically jsch supports only a limited set of authentication methods with a subset of available formats.
from unet-segmentation.
Related Issues (20)
- Exception in thread "Thread-5" java.lang.IllegalArgumentException HOT 1
- Where to obtain test data?
- Tiling makes tens of thousands of images HOT 3
- Use the weights available at https://lmb.informatik.uni-freiburg.de/resources/opensource/unet/ for Tensorflow 2 (Keras) HOT 6
- CUDA 11 support HOT 3
- How to change binary path if I am using EC2? HOT 2
- output very weird HOT 5
- CUDA 10.1 support HOT 3
- U-net installation HOT 6
- Finetuning does not 'train' ,aborts HOT 6
- Segmentation does not have good separation between multiple instances of cells
- Writing a macro script to run the Finetune model
- caffe_unet not found HOT 1
- Model/weight check failed
- client loop: send disconnect: broken pipe; SFTP Failure 4 HOT 1
- caffe or caffe_unet issues HOT 7
- MacOs installation issue HOT 1
- Exporting the environment
- Installation Roadblock HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unet-segmentation.