Giter VIP home page Giter VIP logo

clion-wsl's People

Contributors

dancing-leaves avatar devnoname120 avatar firewave avatar vromaniks avatar yrusskih avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clion-wsl's Issues

Default password

Sorry if this is a stupid question, but what is the default password after running the script?

`sed -i` breaks symlinked bashrc if you have yours in version control

The following line in the ubuntu setup script will make a new file under ~ instead of updating the regular .bashrc if the ~/.bashrc is a symlink. This is quite common if a user is keeping their dotfiles under version control in a separate directory.

sed -i '/^sudo service ssh --full-restart/ d' ~/.bashrc

This will most likely go unnoticed by the users of the script as the new regular file ~/.bashrc also has the symlinked regular file contents.

An alternative for avoiding this break is to take the absolute path in a variable and use it instead of ~/.bashrc.

export _BASH_PATH="$(readlink -f ~/.bashrc)"
sed -i '/^sudo service ssh --full-restart/ d' "${_BASH_PATH}"

This doesn't affect the subsequent cat command but it would be consistent to use ${_BASH_PATH} there as well.

Script isn't working

I just tried the configurations here and I get:

ssh: connect to host localhost port 2222: Connection refused

I am using the latest version of Windows 10 and the Ubuntu 18.04.3 LTS on the WSL.

"/etc/ssh/sshd_config line x: Deprecated option UsePrivilegeSeparation" on Kali

When opening a bash for Kali you will get the following message in the SSH server start message

/etc/ssh/sshd_config line x: Deprecated option UsePrivilegeSeparation

From https://www.openssh.com/txt/release-7.5:

 * This release deprecates the sshd_config UsePrivilegeSeparation
   option, thereby making privilege separation mandatory. Privilege
   separation has been on by default for almost 15 years and
   sandboxing has been on by default for almost the last five.

Incorrect SSH server configuration

ListenAddress 127.0.0.1
Port 2222
UsePrivilegeSeparation no
PasswordAuthentication yes
 * Stopping OpenBSD Secure Shell server sshd                                                                     [ OK ]
 * Starting OpenBSD Secure Shell server sshd                                                                            /etc/ssh/sshd_config line 89: ports must be specified before ListenAddress.
                                                                                                                 [fail]
%sudo ALL=(ALL) NOPASSWD: /usr/sbin/service ssh --full-restart

SSH server parameters (/etc/ssh/sshd_config):
ListenAddress 127.0.0.1
Port 2222
UsePrivilegeSeparation no
PasswordAuthentication yes

Valgrind not finding project.exe

I've installed Ubuntu with WSL, configured the ssh and Toolchains in CLion.

I attempt to run Valgrind and get the following error:

Error running 'try1': File not found: /cygdrive/c/Users/noam/Downloads/204634679-314475062/try1/cmake-build-debug/try1.exe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.